* nl_langinfo(), we use strftime() as an alternative, and it is missing
* functionality to get every single one, so hard-code those */
- case ERA: return ""; /* Unimplemented; for use with strftime() %E
- modifier */
-
/* These formats are defined by C89, so we assume that strftime supports
* them, and so are returned unconditionally; they may not be what the
* locale actually says, but should give good enough results for someone
# ifndef USE_LOCALE_TIME
case T_FMT_AMPM: return "%r";
-
# endif
#endif
* enough, so that a native speaker would find them understandable.
* */
+ /* Unimplemented by perl; for use with strftime() %E modifier */
+ case ERA: retval = ""; break;
+
# if ! defined(USE_LOCALE_TIME) || ! defined(HAS_STRFTIME)
case AM_STR: retval = "AM"; break;