aboutsummaryrefslogtreecommitdiff
path: root/hotline/time_test.go
AgeCommit message (Collapse)Author
2026-08-23Add feed-backed threaded news importsJeff Halter
2026-07-10Encode Hotline time seconds from the 1904 Mac epochJeff Halter
The seconds field of the 8-byte Hotline time was encoded as seconds since the start of the current year. Clients that decode this field as a raw classic Mac OS timestamp (e.g. Pitbull Pro) therefore always rendered the year as 1904, since the value was under one year past the 1904 epoch. Encode seconds from 1904-01-01 to match the original Hotline server, and decode symmetrically. Fixes #166.