summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index a2f1aa660b..fec13d564f 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -1160,12 +1160,12 @@ static char *get_token_value(struct gui_wps *gwps,
1160 1160
1161 case WPS_TOKEN_RTC_WEEKDAY_NAME: 1161 case WPS_TOKEN_RTC_WEEKDAY_NAME:
1162 /* a: abbreviated weekday name (Sun..Sat) */ 1162 /* a: abbreviated weekday name (Sun..Sat) */
1163 snprintf(buf, buf_size, "%s",str(dayname[tm->tm_wday])); 1163 snprintf(buf, buf_size, "%s",str(LANG_WEEKDAY_SUNDAY + tm->tm_wday));
1164 return buf; 1164 return buf;
1165 1165
1166 case WPS_TOKEN_RTC_MONTH_NAME: 1166 case WPS_TOKEN_RTC_MONTH_NAME:
1167 /* b: abbreviated month name (Jan..Dec) */ 1167 /* b: abbreviated month name (Jan..Dec) */
1168 snprintf(buf, buf_size, "%s",str(monthname[tm->tm_mon])); 1168 snprintf(buf, buf_size, "%s",str(LANG_MONTH_JANUARY + tm->tm_mon));
1169 return buf; 1169 return buf;
1170 1170
1171 case WPS_TOKEN_RTC_DAY_OF_WEEK_START_MON: 1171 case WPS_TOKEN_RTC_DAY_OF_WEEK_START_MON: