Geert Janssens
13f6c4d6d7
Introduce and use gnc_time64_get_day_neutral
...
This function complements gnc_time64_get_day_begin/end. There was
time64CanonicalDayTime but this returned noon of the given day, where we
want 10:59am in most cases. I haven't changed time64CanonicalDayTime
directly as that may break assumptions in other parts of the code.
Instead I have created a new function that can be gradually introduced.
2018-11-20 21:12:32 +01:00
John Ralls
35fabe2690
Remove Timespec from gnc-date.
2018-08-13 16:19:39 -07:00
John Ralls
c8b372e390
Convert GNC_TYPE_TIMESPEC to GNC_TYPE_TIME64, Kvp::Type::Timespec to Kvp::Type::Time64
...
They have to go together because of using gvalues to hide KVP from most of
GnuCash.
2018-08-12 16:12:19 -07:00
John Ralls
b60aef9d2a
Remove timespec2dmy.
...
It had only two uses and one was in a test. Replace those calls with
gnc_localtime_r.
2018-08-12 16:12:19 -07:00
John Ralls
6d605762dd
Delete the last vestiges of timepair.
2018-07-23 12:00:54 -07:00
lmat
6dc982c2c6
Some time64 corrections
...
The build system isn't always catching changed files, so these showed up
later.
2018-01-08 13:01:29 +11:00
lmat
1f050fd1e5
Transaction members Timespec->time64
2018-01-08 13:01:29 +11:00
lmat
598cb6d861
gncEntry members timespec->time64
2018-01-08 13:01:29 +11:00
lmat
f77369bb96
Removing timspec from some xml parsing
...
And several other sprawling references that are connected in one
way or another.
2018-01-08 13:01:29 +11:00
lmat
7390396af9
added gnc-dmy2time64* functions
2018-01-08 13:01:29 +11:00
lmat
7d51089501
Changing scheme conversion to gdate to use time64
2018-01-08 13:01:29 +11:00
lmat
ee56f5df78
Adding some time64 API functions
2018-01-08 13:01:29 +11:00
John Ralls
6db0820771
Fix offset handling in GncDateTime struct tm ctor, gnc_mktime, & gnc_timegm.
...
Tests now pass in all TZa from Honolulu to New Zealand.
2017-12-12 21:02:11 -08:00
John Ralls
13657ee1bb
Merge branch 'maint' into unstable
2017-11-25 15:35:24 -08:00
Robert Fewell
6ca85450a8
Move gnc-gdate-utils functions to gnc-date and remove files.
...
Also update related files to reflect move of gnc-gdate-util functions
2017-08-20 14:07:30 +01:00
Geert Janssens
83d14e1c1c
Restructure the src directory
...
It is split into
- /libgnucash (for the non-gui bits)
- /gnucash (for the gui)
- /common (misc source files used by both)
- /bindings (currently only holds python bindings)
This is the first step in restructuring the code. It will need much
more fine tuning later on.
2017-08-10 18:45:00 +02:00