Bug#489960: date_fmt incorrect for sv_SE
Package: locales
Version: 2.7-12
Severity: minor
Tags: patch
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.
Regards: David Weinehall
--
/) David Weinehall <tao@debian.org> /) Rime on my window (\
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Diamond-white roses of fire //
\) http://www.acc.umu.se/~tao/ (/ Beautiful hoar-frost (/
--- sv_SE.old 2008-07-09 01:17:05.000000000 +0300
+++ sv_SE 2008-07-09 01:28:06.000000000 +0300
@@ -169,14 +169,23 @@
"<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
Reply to: