by kazinator · 6y ago · 0 comments
Given two versions j and k, those being integers if j > k, then j is chronologically later than k.
That's what I use on the TXR project.
That being at version 230 means I made 230 releases since the project started in 2009.
Since that number "means" something, it has semantics; therefore, it is not only chronological but also semantic.
230-12-01-2020 to mean the 230th release since the start of the project, made on January 1st, 2020.
Edit: the great irony is that your example included an error which I then reproduced! Obviously, 1st jan is unambiguously:
230-2020-01-01
If you were representing 1st dec, though, I’d suggest:
230-2020-12-01
Surely this is either released on the first of December or the 12th of January?