-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
| ; :week-year is still a puzzle (t-> "2017" (nest :week)) t-sequence count) => 52? |
From https://en.wikipedia.org/wiki/ISO_week_date, there are 53 weeks if December 31st is a Thursday, or if December 31st is a Wednesday and it's a leap year
I tried changing the tests, but I'm not familiar enough with Clojure yet, and (t->"2017" (nest :week) t-sequence) results in an empty set.
I suspect that it requires a mappable nesting in metajoda.clj, but the combinations I tried had no effect. It might also be an ambiguity between "2017" as a year and as a week-year.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels