| 1 | # Page date |
| 2 | |
| 3 | `native` is OneNote 2010 changing a page's date (`tools/native/page-date.ps1` on |
| 4 | `picture-edit/native-page-level/notebook`): it creates two pages, "Kept date" and |
| 5 | "Changed date", each with OneNote's own title, date and time, then gives "Changed date" |
| 6 | the `dateTime` 2024-03-05T14:30:00Z through the COM API (`before.xml`, `update.xml`, |
| 7 | `after.xml`; `kept.xml` is the untouched page). In `notebook/`, the revision that change |
| 8 | stored sets the page metadata's `TopologyCreationTimeStamp` (`0x18001c65`), rewrites the |
| 9 | date and time fields' text (`TextExtendedAscii`, `0x1c003498`, in the clone's Pacific |
| 10 | time: "Tuesday, March 05, 2024", "7:30 AM"), and gives the two fields' elements the |
| 11 | change time as `CreationTimeStamp` (`0x14001d09`) and `LastModifiedTime`, with the |
| 12 | date outline's `LastModifiedTime`. The title, the page and the section's page metadata |
| 13 | keep theirs. |
| 14 | |
| 15 | `candidate` is `a_page_date_stores_what_onenote_stores` in `crates/onestore/src/op/tests.rs` |
| 16 | (`ONESTORE_PAGE_DATE_EXPORT`): the `Date` op dates "Kept date" 2025-07-04T16:45:00Z, |
| 17 | showing "Friday, July 04, 2025" and "9:45 AM", and changes the same objects OneNote did. |
| 18 | `cold` is its fresh OneNote 2010 read: the page reads back with that `dateTime`, and |
| 19 | `read/page-001.png` shows the new date and time under the title. |