48e66c2b14
(locale's appropriate date and time representation) from %d (single digits are preceded by 0) to %e (single digits are preceded by a blank).
38 lines
745 B
C
38 lines
745 B
C
/* $NetBSD: _def_time.c,v 1.6 1999/11/10 09:15:11 kleink Exp $ */
|
|
|
|
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <sys/localedef.h>
|
|
#include <locale.h>
|
|
|
|
const _TimeLocale _DefaultTimeLocale =
|
|
{
|
|
{
|
|
"Sun","Mon","Tue","Wed","Thu","Fri","Sat",
|
|
},
|
|
{
|
|
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
|
|
"Friday", "Saturday"
|
|
},
|
|
{
|
|
"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 %e %H:%M:%S %Y",
|
|
"%m/%d/%y",
|
|
"%H:%M:%S",
|
|
"%I:%M:%S %p"
|
|
};
|
|
|
|
const _TimeLocale *_CurrentTimeLocale = &_DefaultTimeLocale;
|