[PATCH 28/36] localedata: correct sv_SE date format
From: David Weinehall <tao@debian.org>
Date: Mon, 19 Jan 2009 12:43:47 -0600
date_fmt uses the wrong time format for the Swedish locale; the included
patch tries to fix this. The patch also moves the %Y to the same
position it has in %c, and adds a few helpful comments while at it.
Forwarded upstream: BZ9725. Lacks rationale.
Originally submitted through the BTS, 2008-07-09]
[aurelien@aurel32.net, 2009-01-19: use '%' for comments instead of '#']
Fixes: http://bugs.debian.org/489960
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
localedata/locales/sv_SE | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/localedata/locales/sv_SE b/localedata/locales/sv_SE
index f558e24..9a52538 100644
--- a/localedata/locales/sv_SE
+++ b/localedata/locales/sv_SE
@@ -169,14 +169,23 @@ mon "<U006A><U0061><U006E><U0075><U0061><U0072><U0069>";/
"<U006F><U006B><U0074><U006F><U0062><U0065><U0072>";/
"<U006E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
"<U0064><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
+%
+% Appropriate date and time representation (%c)
+% "%a %e %b %Y %H.%M.%S"
d_t_fmt "<U0025><U0061><U0020><U0025><U0065><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0048><U002E><U0025><U004D><U002E><U0025><U0053>"
+%
+% Appropriate date representation (%x) "%Y-%m-%d"
d_fmt "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
+%
+% Appropriate time representation (%X) "%H.%M.%S"
t_fmt "<U0025><U0048><U002E><U0025><U004D><U002E><U0025><U0053>"
am_pm "";""
t_fmt_ampm ""
-date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
-<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
-<U0025><U005A><U0020><U0025><U0059>"
+%
+% Appropriate date representation (date(1)) "%a %e %b %Y %H.%M.%S %Z"
+date_fmt "<U0025><U0061><U0020><U0025><U0065><U0020><U0025><U0062>/
+<U0020><U0025><U0059><U0020><U0025><U0048><U002E><U0025><U004D><U002E>/
+<U0025><U0053><U0020><U0025><U005A>"
first_weekday 2
first_workday 2
END LC_TIME
--
1.7.5.1
Reply to: