Commit Graph

5 Commits (64bdef92383543c6ba66fe92c85353a07e08b95e)

Author SHA1 Message Date
kon 64bdef9238
sqldb: change time parsing function
This commit changes the time parsing function to use the time.Parse
function instead of the prior manual parsing. Only if the year is
far in the future, we replace it with the current year.
9 months ago
sputn1ck 5cafa34ae9
loopdb: fix timestamp parsing 10 months ago
sputn1ck be9ca71bf2
loopd: convert unix millisecond timestamps to seconds 10 months ago
sputn1ck f25b5e9626
loopdb: fix faulty timestamps on startup
This commit fixes faulty timestamps caused by using unix milliseconds
as unix seconds on startup.
This commit also adds a test for the lightning-terminal issue that first
reported the bug.
10 months ago
sputn1ck ab8923fc38
loopdb: add sqlite test files 12 months ago