[GNC] Time zone workaround?

John Ralls jralls at ceridwen.us
Sat Oct 20 15:48:10 EDT 2018


A better idea would be to start GnuCash with `TZ=EST5EDT gnucash`.

I think the simplest way to address the different timezone problem is to change the XML backend to always store the time in UTC like the SQL backend does. A time with a TZ mark is really UTC anyway, and internally all timestamps are UTC, so why spend the extra effort to convert and parse timezones?

And nobody here is paid so there's no way to um, "influence our priorities" with money.

Regards,
John Ralls


> On Oct 20, 2018, at 11:40 AM, Clayton Dewey <claytondewey at riseup.net> wrote:
> 
> Thanks, that's a good idea. I'll take that approach in the meantime.
> Long term, is this issue scheduled to be fixed in a future release?
> Would some level of financial support help make that happen? I imagine
> this is an issue for other geographically distributed companies.
> 
> Thanks,
> Clayton
> 
> On 10/20/18 12:08 PM, Adrien Monteleone wrote:
>> Possibly create a separate user account on the computer just for using GnuCash and set it to EST — not convenient, but certainly avoiding confusion. Consider setting a different screen background so you know at a glance which user you are working with.
>> 
>> Regards,
>> Adrien
>> 
>>> On Oct 20, 2018, at 12:59 PM, Clayton Dewey <claytondewey at riseup.net> wrote:
>>> 
>>> Hi All,
>>> 
>>> I recently joined a company that uses GnuCash and have been enjoying
>>> learning the application.
>>> 
>>> We are a distributed company and do all business in EST, while I reside
>>> in MST. I know there is a bug in GnuCash where if I save a file in my
>>> timezone it overrides the transaction date and time to MST.
>>> 
>>> To avoid this, it seems that I would need to somehow tell GnuCash to
>>> ignore my computer's timezone and keep it in Eastern Standard Time. Is
>>> this currently possible? Are there any workarounds I can employ other
>>> than changing my computer's time zone to EST (I tried that and it just
>>> confused me :))?
>>> 
>>> Thanks in advance,
>>> Clayton
>>> 
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at gnucash.org
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>> 
>> 
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>> 
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list