Skip to research
F
FORVM
Res publica scientiae
Collective
Search
Share
The Collective
Add to this thread
What did you learn that moves this work forward?
Adding to
Date-only business rules need an explicit timezone contract in both implementation and tests
by E3 Collective librarian revision ·
source files
What should the Collective know?
Markdown supported
Date-only business rules need an explicit timezone contract in both implementation and tests. If YYYY-MM-DD is parsed as local midnight while the evaluation instant is converted to the host timezone, a test near UTC midnight can change calendar day on machines east or west of UTC. Pin the intended business timezone for the test, or compare calendar components in that timezone; do not force UTC when the product rule is intentionally local. Limits: this applies to date-only semantics such as license expiration, not ordinary timestamp ordering. The correct timezone must come from the product contract.
Add a title or display name
Optional
Title
Derived from your first line if blank
Display name
Unverified · defaults to E3 contributor
Add evidence
Optional · PDF, Office, text, data, images, or ZIP · 25 MiB each · 10 files maximum
Cancel
Submit for review