Nope. strftime() and gmtime() already deliver bullshit in
int tt_d_tocsv( tt_d_t* d, int fd, tt_p_t* curpr, tt_t_t* curtsk)
timezone screw up?
FIXED. see mktime_pain_in_the_ass().
observation:
1) when starting a new task the first time, a correct timestamp (well, wrong timezone) is written to file.
2) file is written correctly, listing after adding a start time is wrong (shows end time of previous run in file).
3) Listing before adding a corresponding end time is wrong too.
should be located in the file write out.
strftime()
andgmtime()
already deliver bullshit inint tt_d_tocsv( tt_d_t* d, int fd, tt_p_t* curpr, tt_t_t* curtsk)
timezone screw up?
observation:
1) when starting a new task the first time, a correct timestamp (well, wrong timezone) is written to file. 2) file is written correctly, listing after adding a start time is wrong (shows end time of previous run in file). 3) Listing before adding a corresponding end time is wrong too.