--- sh-utils-2.0.12/src/date.c.orig	2002-09-08 21:19:26.000000000 +0900
+++ sh-utils-2.0.12/src/date.c	2002-09-08 21:23:21.000000000 +0900
@@ -21,7 +21,7 @@
 #include <stdio.h>
 #include <getopt.h>
 #include <sys/types.h>
-#if HAVE_LANGINFO_H
+#if HAVE_LANGINFO_CODESET
 # include <langinfo.h>
 #endif
 
@@ -509,14 +509,7 @@
       else
 	{
 	  char *date_fmt = DATE_FMT_LANGINFO ();
-	  /* Do not wrap the following literal format string with _(...).
-	     For example, suppose LC_ALL is unset, LC_TIME="POSIX",
-	     and LANG="ko_KR".	In that case, POSIX says that LC_TIME
-	     determines the format and contents of date and time strings
-	     written by date, which means "date" must generate output
-	     using the POSIX locale; but adding _() would cause "date"
-	     to use a Korean translation of the format.  */
-	  format = *date_fmt ? date_fmt : "%a %b %e %H:%M:%S %Z %Y";
+	  format = *date_fmt ? date_fmt : dcgettext(NULL, N_("%a %b %e %H:%M:%S %Z %Y"), LC_TIME);
 	}
     }
   else if (*format == '\0')
--- sh-utils-2.0.12/ChangeLog.orig	2002-09-08 21:23:54.000000000 +0900
+++ sh-utils-2.0.12/ChangeLog	2002-09-08 21:25:37.000000000 +0900
@@ -1,3 +1,8 @@
+2002-09-08  Yukihiro Nakai  <ynakai@redhat.com>
+
+	* date.c: Use HAVE_LANGINFO_CODESET defined in config.h
+	* date.c: Use dcgettext to let LC_TIME value change date format
+
 2002-04-29  Jim Meyering  <meyering@lucent.com>
 
 	* Version 2.0.12.
