--- Begin Message ---You mean "development" version, right? Will it be available in stable version? Thanks! pf> Petr, > > You should use the latest STON, where Dates are now serialised with a > timezone indicator. > > Sven > > > On 16 Oct 2018, at 19:59, Petr Fischer via Pharo-users > > <pharo-users@lists.pharo.org> wrote: > > > > > > From: Petr Fischer <petr.fisc...@me.com> > > Subject: STON and persisting Dates - problem > > Date: 16 October 2018 at 19:59:55 GMT+2 > > To: pharo-users@lists.pharo.org > > > > > > Hello, > > > > if I persist Dictionary with Date keys with STON, there is a problem. > > > > STON serializes Dates as: Date [ '2018-10-16' ] - there is no info about > > timezone. > > > > So if I put a key "Date now translateToUTC" into dictionary, save to STON > > file, and then load again from STON file, Dictionary Date keys are restored > > in local time zone, so the keys in Dictionary is different - so after > > deserialize from STON file I can't find anything in Dictionary anymore. > > > > Should I use ZTimestamp? :) > > > > Thanks, pf > > > > > > >
--- End Message ---
Re: [Pharo-users] STON and persisting Dates - problem
Petr Fischer via Pharo-users Tue, 16 Oct 2018 12:30:24 -0700
- [Pharo-users] STON and persisting Dates - pro... Petr Fischer via Pharo-users
- Re: [Pharo-users] STON and persisting Da... Sven Van Caekenberghe
- Re: [Pharo-users] STON and persistin... Petr Fischer via Pharo-users
- Re: [Pharo-users] STON and persi... Sven Van Caekenberghe