Strange Day of Week

Mark Guagenti mgenti at gentiweb.com
Wed Dec 22 15:27:08 UTC 2010


For some reason the date command on my busybox (1.17.4) will not show
the correct day of the week.  No matter what I set the date to it
always shows "Sunday" as the day of the week. For example:
# date -s "2010-12-21 08:24:00"
 Sunday 21 08:24:00 MST 2010
# date -s "2010-12-22 08:24:00"
t Sunday 22 08:24:00 MST 2010
# date +%s
# date +%a
t
# date +%A


I also tried setting the time with NTP but that doesn't seem to help.
Any suggestions on why my system is doing this?

Thanks in advance,
--Mark


More information about the busybox mailing list