maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Interesting date problem.. (https://talk.maemo.org/showthread.php?t=20533)

combatdoc 2008-05-29 01:32

Interesting date problem..
 
First I am in Mountain time (GMT -6)
I set the Date/Time in the Control panel to my closest city (interestingly El Paso isn't listed but Juarez is).

If I go into Busybox and type date I get:
Wed May 28 19:29:20 GMT+6 2008

Also you notice it says GMT+6 instead of MST/MDT which according to busybox docs is the default.

Might this be why Google calendar/GPE Calendar is messing up times on sync? (using Ermining to sync)

I discovered this while setting a cron to run the following script to sync my hwclock/kernel clock:

Code:

#!/bin/sh


# synchronize system clock
LOGFILE=/home/user/scripts/time.log
DATE=$(date)

echo "$DATE: Synchornizing System Clock..." > $LOGFILE
ntpdate pool.ntp.org

# copy result to hardware clock

/mnt/initfs/usr/bin/retutime --rtc-from-system
echo "$DATE: Clock Synchronized." >> $LOGFILE



All times are GMT. The time now is 18:06.

vBulletin® Version 3.8.8