Skip to content

Conversation

@swhitty
Copy link
Owner

@swhitty swhitty commented Jan 7, 2026

#14 added ability to encode/decode dates to integers using .millisecondsSince1970 and .secondsSince1970 but on arm64_32 environments (some watchOS) this overflows because Int is only 32 bits.

This PR updates the encoding/decoding to explicitly use Int64 for this field.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.74%. Comparing base (d5ca756) to head (f7bf4ed).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   99.74%   99.74%           
=======================================
  Files           3        3           
  Lines         775      775           
=======================================
  Hits          773      773           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@swhitty swhitty merged commit 1d4f3c2 into main Jan 7, 2026
16 checks passed
@swhitty swhitty deleted the watchOS-32bit branch January 7, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants