aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/strftime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/strftime.c b/time/strftime.c
index d53fdfe..a2ed590 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -834,8 +834,8 @@ my_strftime (s, maxsize, format, tp ut_argument)
if (era)
{
# ifdef COMPILE_WIDE
- size_t len = strlen (era->era_name);
- cpy (len, era->era_name);
+ size_t len = wcslen (era->era_wname);
+ cpy (len, era->era_wname);
# else
size_t len = strlen (era->era_name);
cpy (len, era->era_name);