gnucash maint: Bug 774237 - FTBFS under some timezones (eg. GMT-14)
John Ralls
jralls at code.gnucash.org
Sat Dec 10 17:33:12 EST 2016
Updated via https://github.com/Gnucash/gnucash/commit/fcd817a6 (commit)
from https://github.com/Gnucash/gnucash/commit/fc3dc3e7 (commit)
commit fcd817a6bf44298173a0053e63bf8397c0381a21
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Dec 10 14:26:16 2016 -0800
Bug 774237 - FTBFS under some timezones (eg. GMT-14)
Fix the neutral offset calculations so that the fixed UTC time doesn't
change the date in the timezones near the international date line. Divide
offset by 60 instead of 3600 so that the Chatham Islands (GMT-12:45 with DST)
use 9:59 instead of 10:59 like the rest of NZ (GMT-12).
Summary of changes:
src/libqof/qof/gnc-date-p.h | 1 +
src/libqof/qof/gnc-date.c | 8 +++++---
src/libqof/qof/test/test-gnc-date.c | 33 ++++++++++++++++++++++++---------
3 files changed, 30 insertions(+), 12 deletions(-)
More information about the gnucash-patches
mailing list