docs: update documentation to OKF v0.1 format
This commit is contained in:
@@ -28,8 +28,13 @@ IANA timezone, defaulting to `Europe/Berlin` in the matcher.
|
|||||||
# Leap-Day Behavior
|
# Leap-Day Behavior
|
||||||
|
|
||||||
A February 29 post matches February 29 when the current year is a leap year.
|
A February 29 post matches February 29 when the current year is a leap year.
|
||||||
In a non-leap year it matches March 1, preserving one anniversary event for
|
In a non-leap year it matches March 1, but only when the post's year is
|
||||||
leap-day posts.
|
exactly ten years before the current year (`today.year − 10`). Because
|
||||||
|
`today.year − 10` is never itself a leap year whenever today is a leap year
|
||||||
|
(`10 mod 4 == 2`), the Feb 29 ↔ Feb 29 branch is reached independently of
|
||||||
|
the year-equality check: any Feb 29 post from a prior leap year is a
|
||||||
|
candidate, and its canonical URL keeps the original `YYYY/02/29/<slug>/`
|
||||||
|
path.
|
||||||
|
|
||||||
# Output and Integration
|
# Output and Integration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user