Am Montag, 7. Januar 2013 um 12:03:15, schrieb Jean-Marc Lasgouttes <[email protected]> > Le 07/01/2013 11:17, Kornel Benko a écrit : > > The problem arises, if we export to latex. > > > > As it is now, the timestamps are written respecting the local timezone. > > > > Importing this back with tex2lyx, everything is OK, if one happens to be > > in same timezone. > > > > But for different timezones this changes. > > > > This patch uses GMT for read/write tex. > > This looks good.
I would also change the function-name
from_ctime() --> from_gmtime()
The only location calling this function is src/tex2lyx/text.cpp:3211
The comment here indicates the awareness of the timezone problem
> Are we supposed to put some special time handling
> things in lyxtime.cpp?
I hope not. It's not worth the trouble to develop
own time syntax.
> I a not sure what the scope of the file is,
> besides the obvious hiding of a Qt dependency.
>
> JMarc
>
Kornel
signature.asc
Description: This is a digitally signed message part.
