From 6df301ad24a8bd8009e55499f683f7571f2c0c2e Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 23 Oct 1995 20:26:53 +0000 Subject: Add setlocale(LC_TIME,... --- bin/date/date.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/date') diff --git a/bin/date/date.c b/bin/date/date.c index 94e3b33..c842ae9 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: date.c,v 1.4 1995/04/03 20:08:33 joerg Exp $ + * $Id: date.c,v 1.5 1995/08/05 23:08:17 ache Exp $ */ #ifndef lint @@ -54,6 +54,7 @@ static char sccsid[] = "@(#)date.c 8.1 (Berkeley) 5/31/93"; #include #include #include +#include #include "extern.h" @@ -79,6 +80,7 @@ main(argc, argv) char *endptr; int set_timezone; + (void) setlocale(LC_TIME, ""); tz.tz_dsttime = tz.tz_minuteswest = 0; rflag = 0; set_timezone = 0; -- cgit v1.1