diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2026-07-10 13:10:36 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2026-07-10 13:10:36 -0700 |
| commit | db8cc16a49729811445844f82f61ca15e977b24f (patch) | |
| tree | a564b9e29884ac1f8916bb6aeadae890225ea4bb /cmd | |
| parent | 490422f24d2a060642d7753b685fccdb8a72a661 (diff) | |
Encode Hotline time seconds from the 1904 Mac epoch
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.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions