docs(design): plan typed dates and times - #975
Merged
Merged
Conversation
andiwand
force-pushed
the
docs/plan-typed-dates
branch
from
October 4, 2026 10:50
348cc69 to
1080914
Compare
A date or time value states its serial counted from 1899-12-30, whatever the file counts from. The ods writer writes `office:date-value` and `office:time-value`; the xlsx writer writes the serial and gives the cell a date format. The editor reads a typed date in the locale's order and opens a date cell on its serial. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011qFgpigFCwbfZ24TFj7eqA
andiwand
force-pushed
the
docs/plan-typed-dates
branch
from
October 4, 2026 10:56
1080914 to
ddb7392
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Generated with Claude Code
The plan for "a typed date or time in the editor" from the open-work list of
docs/design/spreadsheet-editing.md, as decisions 17 to 19. The stack that follows:The decisions
office:date-value, counted fromtable:null-date.CellValuegives every date and time as days since 1899-12-30, whatever the file counts from, so a host computes a date once.{"type": "date", "number": …, "text": …}, and"time"the same.office:date-valueoroffice:time-value, with the text from the cell's date style if it has one.Intl.DateTimeFormat.data-odr-value, so an unchanged commit writes nothing.Month and day names stay English in what C++ formats, because no locale data ships. That remains an open item.