1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:27:45 +00:00

LibJS: Add missing spaces in balance_iso_date() spec comments

This commit is contained in:
Linus Groh 2021-11-14 22:49:50 +00:00
parent a3de9dcf95
commit 32c52e3511

View file

@ -428,13 +428,13 @@ ISODate balance_iso_date(double year_, double month_, double day)
// 8. Repeat, while day < 1 × ! ISODaysInYear(testYear), // 8. Repeat, while day < 1 × ! ISODaysInYear(testYear),
while (day < -1 * iso_days_in_year(test_year)) { while (day < -1 * iso_days_in_year(test_year)) {
// a.Set day to day + !ISODaysInYear(testYear). // a. Set day to day + !ISODaysInYear(testYear).
day += iso_days_in_year(test_year); day += iso_days_in_year(test_year);
// b.Set year to year 1. // b. Set year to year 1.
year--; year--;
// c.Set testYear to testYear 1. // c. Set testYear to testYear 1.
test_year--; test_year--;
} }