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:
parent
a3de9dcf95
commit
32c52e3511
1 changed files with 3 additions and 3 deletions
|
@ -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--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue