NetBSD/lib/libc/locale/_def_time.c

38 lines
745 B
C
Raw Normal View History

1997-04-29 20:40:13 +04:00
/* $NetBSD: _def_time.c,v 1.5 1997/04/29 16:40:16 kleink Exp $ */
1994-05-25 03:40:06 +04:00
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
1994-05-25 03:40:06 +04:00
*/
#include <sys/localedef.h>
1994-05-25 03:40:06 +04:00
#include <locale.h>
const _TimeLocale _DefaultTimeLocale =
{
{
"Sun","Mon","Tue","Wed","Thu","Fri","Sat",
},
{
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
"Friday", "Saturday"
1994-05-25 03:40:06 +04:00
},
{
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
},
{
"January", "February", "March", "April", "May", "June", "July",
"August", "September", "October", "November", "December"
},
{
"AM", "PM"
},
"%a %b %d %H:%M:%S %Y",
"%m/%d/%y",
"%H:%M:%S",
"%I:%M:%S %p"
};
const _TimeLocale *_CurrentTimeLocale = &_DefaultTimeLocale;