diff options
Diffstat (limited to 'common/cmd_date.c')
-rw-r--r-- | common/cmd_date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_date.c b/common/cmd_date.c index 4a653e5bcf..dfb9349517 100644 --- a/common/cmd_date.c +++ b/common/cmd_date.c @@ -201,7 +201,7 @@ int mk_date (const char *datestr, struct rtc_time *tmp) tmp->tm_min = val; /* calculate day of week */ - GregorianDay (tmp); + rtc_calc_weekday(tmp); return (0); default: |