/* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #if defined(LIBC_SCCS) && !defined(lint) static char rcsid[] = "$OpenBSD: _def_time.c,v 1.2 1996/08/19 08:28:18 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ #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 %d %H:%M:%S %Y", "%m/%d/%y", "%H:%M:%S", "%I:%M:%S %p" }; const _TimeLocale *_CurrentTimeLocale = &_DefaultTimeLocale;