]> git.deb.at Git - pkg/abook.git/blobdiff - abook.c
Display dates according to current locale (as defined by LC_TIME).
[pkg/abook.git] / abook.c
diff --git a/abook.c b/abook.c
index c4d239ee2241b24ae4750646b0b3660beda969b7..ab65d17a784798a44ee9c40885612fde2196ec42 100644 (file)
--- a/abook.c
+++ b/abook.c
@@ -187,9 +187,11 @@ int
 main(int argc, char **argv)
 {
 #if defined(HAVE_SETLOCALE) && defined(HAVE_LOCALE_H)
-       setlocale(LC_ALL, "");
+       setlocale(LC_MESSAGES, "");
+       setlocale(LC_TIME, "");
+       setlocale(LC_CTYPE, "");
+       setlocale(LC_COLLATE, "");
 #endif
-
        bindtextdomain(PACKAGE, LOCALEDIR);
        textdomain(PACKAGE);