Re: [Pharo-users] About Unix time, TimeStamp, ZTimestamp, and GLORP

2013-12-16 Thread Sven Van Caekenberghe
On 17 Dec 2013, at 03:53, Esteban A. Maringolo wrote: > This still puzzles me though: > > (TimeStamp fromUnixTime: 1387243991) "Ctrl+P" '16 December 2013 12:0-26:0-49 > am' > > > Esteban A. Maringolo I do not get the strange output, with or without the asUTC. (TimeStamp fromUnixTime: 13872

Re: [Pharo-users] About Unix time, TimeStamp, ZTimestamp, and GLORP

2013-12-16 Thread Esteban A. Maringolo
This still puzzles me though: (TimeStamp fromUnixTime: 1387243991) "Ctrl+P" '16 December 2013 12:0-26:0-49 am' Esteban A. Maringolo

Re: [Pharo-users] About Unix time, TimeStamp, ZTimestamp, and GLORP

2013-12-16 Thread Esteban A. Maringolo
Nevermind. I had a wrong time zone for my new development environment in Ubuntu 13.10 (I migrated from Win7). I did change the time zone of the Ubuntu machine AND also the PostgreSQL database, but I didn't restart Pharo. Once Pharo was restarted, everything got in sync again. Being 23:50 (local

[Pharo-users] About Unix time, TimeStamp, ZTimestamp, and GLORP

2013-12-16 Thread Esteban A. Maringolo
I'm getting the following this Unix time from a REST API: Unix Time: 1387243991 Which is the following GMT: Tue, 17 Dec 2013 01:33:11 GMT And localized: 12/16/2013 22:33:11 GMT-3 So far, so good. If I parse it with ZTimestamp it parses properly (kudos svc): (ZTimestamp fromUnixTime: 1387243991)