• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*  $NetBSD: _def_time.c,v 1.8 2005/06/12 05:21:27 lukem Exp $  */
2 
3 /*
4  * Written by J.T. Conklin <jtc@NetBSD.org>.
5  * Public domain.
6  */
7 #include  <LibConfig.h>
8 #include  <sys/EfiCdefs.h>
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: _def_time.c,v 1.8 2005/06/12 05:21:27 lukem Exp $");
11 #endif /* LIBC_SCCS and not lint */
12 
13 #include <sys/localedef.h>
14 #include <locale.h>
15 
16 const _TimeLocale _DefaultTimeLocale =
17 {
18   {
19     "Sun","Mon","Tue","Wed","Thu","Fri","Sat",
20   },
21   {
22     "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
23     "Friday", "Saturday"
24   },
25   {
26     "Jan", "Feb", "Mar", "Apr", "May", "Jun",
27     "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
28   },
29   {
30     "January", "February", "March", "April", "May", "June", "July",
31     "August", "September", "October", "November", "December"
32   },
33   {
34     "AM", "PM"
35   },
36   "%a %b %e %H:%M:%S %Y",
37   "%m/%d/%y",
38   "%H:%M:%S",
39   "%I:%M:%S %p"
40 };
41 
42 const _TimeLocale *_CurrentTimeLocale = &_DefaultTimeLocale;
43