diff options
author | metagn <metagngn@gmail.com> | 2022-08-11 04:39:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 09:39:18 +0800 |
commit | 31b7a25e1eef84ae3150e5e0c3d7469b3f57b16c (patch) | |
tree | db8a9c6150dc8a9806841e2c2c0e20555942d2b8 /compiler/debugutils.nim | |
parent | 5a502d78841539ad993ea52fb3d683ba8648ebf3 (diff) | |
download | Nim-31b7a25e1eef84ae3150e5e0c3d7469b3f57b16c.tar.gz |
fix broken runnableExamples for getWeeksInIsoYear (#20193)
Based on what I understand from [Wikipedia](https://en.wikipedia.org/wiki/ISO_week_date#Weeks_per_year), 2001 does not have 53 weeks, but 2004, 2009, 2015, 2020 do. The years 2000 and 2001 seem to be copy pasted from the `getDaysInYear` example above. The result of `getWeeksInIsoYear` also seem to match up with Wikipedia. That means these runnableExamples were never tested. Why is this the case? I only discovered this in #20091.
Diffstat (limited to 'compiler/debugutils.nim')
0 files changed, 0 insertions, 0 deletions