Artifact fc48ca2be97ad1e3f2496e822ab416bdb0068978f2572453874e678f0a5358c7:
- File
internal/fsltype/julian_sweep_test.go
-
2026-10-18 22:01:38
— part of check-in
[342474c212]
on branch feat/submanifest-reader
— fix(fsltype): read text Julian days back as fossil's SQLite does
fossil writes event, plink, attachment and forumpost times as 16-digit SQL text, and its bundled SQLite 3.52.0 reads that text with sqlite3AtoF, which multiplies by a 64-bit power-of-ten approximation and is not correctly rounded. TextJulianDayFromMillis parsed the text with strconv.ParseFloat, so about one time in 3,000 came out one unit in the last place away from fossil's: 13 rows of fossil's own repository. sqliteAtoF ports SQLite 3.52.0's conversion.
julianday() itself already matched; a sweep of 21,000 card times checks JulianDayFromMillis against the linked SQLite's julianday(), and a fossil-binary sweep rebuilds 4,000 control artifacts and requires every event time fossil stores. (user: [email protected], size: 3751) [annotate] [blame] [check-ins using]
-
2026-10-19 02:00:57
— part of check-in
[2e1d1e6fb7]
on branch feat/submanifest-reader
— Merge branch 'fix/tag-events' into feat/submanifest-reader
# Conflicts: # CHANGELOG.md (user: [email protected], size: 3751) [annotate] [blame] [check-ins using]
-
2026-10-18 22:01:38
— part of check-in
[342474c212]
on branch feat/submanifest-reader
— fix(fsltype): read text Julian days back as fossil's SQLite does