summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--login-utils/agetty.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/TODO b/TODO
index 3bd0db44d..070b585f0 100644
--- a/TODO
+++ b/TODO
@@ -59,6 +59,9 @@ v2.15:
v2.??:
=====
+ * agetty: use nl_langinfo() for days and months rather than hardcoded
+ English names.
+
* rewrite ipcs to use /proc/sys/kernel rather than unreliable syscalls
(there are problems with 32bit userspace on 64bit kernel)
diff --git a/login-utils/agetty.c b/login-utils/agetty.c
index 8c5de6ef6..3b6de7178 100644
--- a/login-utils/agetty.c
+++ b/login-utils/agetty.c
@@ -890,6 +890,7 @@ do_prompt(op, tp)
case 'd':
case 't':
{
+ /* TODO: use nl_langinfo() */
char *weekday[] = { "Sun", "Mon", "Tue", "Wed", "Thu",
"Fri", "Sat" };
char *month[] = { "Jan", "Feb", "Mar", "Apr", "May",