Browse Source

LibJS: Add missing spaces in balance_iso_date() spec comments

Linus Groh 3 years ago
parent
commit
32c52e3511
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp

+ 3 - 3
Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp

@@ -428,13 +428,13 @@ ISODate balance_iso_date(double year_, double month_, double day)
 
     // 8. Repeat, while day < −1 × ! ISODaysInYear(testYear),
     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);
 
-        // b.Set year to year − 1.
+        // b. Set year to year − 1.
         year--;
 
-        // c.Set testYear to testYear − 1.
+        // c. Set testYear to testYear − 1.
         test_year--;
     }