circagraph
Sign inSign up

openchronology/timeline-app on GitHub

The OpenChronology repository on GitHub, mirrored by och-import-github: issues and pull requests as durations (ongoing while open), what happened to them as moments, plus releases, milestones, commits and branches. The Branches view shows the most recently active branches each in a track of its own.

Source: https://github.com/openchronology/timeline-app

3,131 moments · 2026-10-05 CE 20:21:49 UTC – 2026-11-16 CE 12:10:45 UTC · by @athan · @athan

#572 Measures 1: declarations, values, validation and formats

–

  • github
  • github/openchronology/timeline-app
  • github/openchronology/timeline-app#572
  • issue
  • state:closed

Part 1 of #570. A timeline declares its measures, and its moments and durations carry their values, with no totals yet. - **Declaration:** `settings.measures`: a name, its type (`mpz` or `mpq`) and its presentation (#2 of #570 fills in the presentation). - **Values:** `metadata.measures` on a moment or duration, as canonical text (`"1250"`, `"3/2"`). No entry means zero, so a zero is never stored. - **Validation:** `validateDocument`, the server and the native store all refuse: - an undeclared measure; - a non-integer value for an `mpz` measure; - text that isn't canonical; - names beyond the character set or count limit; - values beyond the digit limit. - **Formats:** `.ochx`, `.och` SQLite, server conversion, offline HTML and ` ` carry the declaration and values. - **Declaration changes:** - renaming a measure; - widening `mpz` to `mpq`; - narrowing `mpq` to `mpz` only when every value is an integer; - removing a measure, which removes its values. https://github.com/circagraph/timeline-app/issues/572

Related

Open #572 Measures 1: declarations, values, validation and formats in the timeline

#572 Measures 1: declarations, values, validation and…