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.
10 months ago
sputn1ck 5cafa34ae9
loopdb: fix timestamp parsing 11 months ago
sputn1ck be9ca71bf2
loopd: convert unix millisecond timestamps to seconds 11 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.
11 months ago
sputn1ck f8c65bbc4c
loopdb: create base sqlite store 1 year ago