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)
-   -   Date in the shell (https://talk.maemo.org/showthread.php?t=29349)

dormant 2009-06-04 00:38

Date in the shell
 
I am confused by the date that gets returned by the shell.

As Trinidad isn't in the home cities list and the nearest city, Caracas, seems to be in a weird time zone, I set my home city to Halifax, which is in the same time zone as Trinidad: UTC-4.

~ $ date
Wed Jun 3 19:25:10 GMT+4 2009
~ $ date -R
Wed, 03 Jun 2009 19:25:10 -0400
~ $ date -u
Thu Jun 4 23:25:11 UTC 2009


Surely the first of these should have said "GMT-4".

This may seem a trivial complaint, but I am having problems with a web page that uses today's date and my n800 is the only device/browser that gets it wrong.

Andre Klapper 2009-06-04 13:44

Re: Date in the shell
 
I set my Home city on my N810 to Halifax too, but cannot reproduce.
Output is:

~ $ date
Thu Jun 4 10:43:28 ADT 2009
~ $ date -R
Thu, 04 Jun 2009 10:43:38 -0300
~ $ date -u
Thu Jun 4 13:43:46 UTC 2009

dormant 2009-06-05 18:38

Re: Date in the shell
 
Now I am more confused.

I switched off daylight saving time for Halifax - do you have it on?


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

vBulletin® Version 3.8.8