# Time-limited offers expire instantly in local development

> The Mac clock was 81 seconds slow. The local API set expires_at = now + 25 s by its own clock, which was already in the past by the database's clock.

Web page: https://davidewins.com/errors/local-clock-skew-expires-offers

Other. Confirmed fix, 13 September 2026.

Versions: macOS

There is no error message for this one, only the symptom in the title.

## Cause

The Mac clock was 81 seconds slow. The local API set expires_at = now + 25 s by its own clock, which was already in the past by the database's clock.

## Fix

Resync the clock (`sudo sntp -sS time.apple.com`), and prefer database time (`now()`) for expiry timestamps over app server time.

## More Other errors

- [Scheduled retry job runs every 6 hours and never does anything (401 every time)](https://davidewins.com/errors/cron-secret-posted-to-admin-only-route)
- [eas-cli fails instantly with no route to host while dig shows a healthy IPv4 address](https://davidewins.com/errors/tailscale-magicdns-ipv6-only-eas-cli)
- [Web haptics do nothing on iPhone Safari (iOS 26)](https://davidewins.com/errors/ios-web-haptics-scripted-click-ignored)
- [adb connect fails after pairing over Wi-Fi](https://davidewins.com/errors/adb-wireless-pairing-port-vs-connect-port)
- [Scraped pages have no ratings, but the browser shows them](https://davidewins.com/errors/scraped-ratings-null-pre-hydration-html)

[Search all errors](https://davidewins.com/errors)
