diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-28 16:31:37 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-29 09:07:41 -0700 |
commit | 56ed3f1c6119b9ac86f602455d54318623640056 (patch) | |
tree | 0c342158ea4c2d2443139361deba786fa1b01bab /dives | |
parent | 84166a4ee77502bdb4a981bc5404a1a970c579cc (diff) | |
download | subsurface-56ed3f1c6119b9ac86f602455d54318623640056.tar.gz |
Fix Qt date interfaces for times before 1970
This seems to work around the crazy QDateTime::fromTime_t() problem in Qt.
It is *very* lightly tested. In fact, the only test is that "test0.xml"
change that is part of this patch.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives')
-rw-r--r-- | dives/test0.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dives/test0.xml b/dives/test0.xml index 6ade06519..75ad23e7d 100644 --- a/dives/test0.xml +++ b/dives/test0.xml @@ -1,6 +1,6 @@ <dives> <program name='subsurface' version='1'></program> - <dive number='0' date='2011-01-01' time='07:00:00' duration='30:00 min'> + <dive number='0' date='1968-01-01' time='07:00:00' duration='30:00 min'> <depth max='30.00 m' mean='15.00 m' /> </dive> </dives> |