2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-04 06:00:21 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Oliver Gugger
08026dab93
multi: update linter, fix issues 2023-10-03 19:36:40 +02:00
sputn1ck
942b0dc1bb
loopdb: change faulty year migration logic
This commit changes how the faulty year migration works, by just
checking if the deadline is far in the future and then
fixing it.
2023-08-24 16:21:25 +02:00
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.
2023-08-24 16:09:37 +02:00
sputn1ck
5cafa34ae9
loopdb: fix timestamp parsing 2023-08-08 15:20:00 +02:00
sputn1ck
be9ca71bf2
loopd: convert unix millisecond timestamps to seconds 2023-08-08 08:42:16 +02:00
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.
2023-08-07 21:04:30 +02:00
sputn1ck
ab8923fc38
loopdb: add sqlite test files 2023-06-20 18:59:25 +02:00