mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
AK+LibCore+Kernel: Have fewer implementations of day_of_year
The JS tests pointed out that the implementation in DateTime had an off-by-one in the month when doing the leap year check, so this change fixes that bug.
This commit is contained in:
parent
2c1b84b3e1
commit
c85e679e2d
6 changed files with 57 additions and 60 deletions
|
@ -207,6 +207,7 @@ set(AK_SOURCES
|
|||
../AK/StringImpl.cpp
|
||||
../AK/StringUtils.cpp
|
||||
../AK/StringView.cpp
|
||||
../AK/Time.cpp
|
||||
)
|
||||
|
||||
set(ELF_SOURCES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue