Skip to content

Commit dd8311c

Browse files
authored
Fix comment in operator- example in "<chrono> operators" reference
1 parent 6fb63f0 commit dd8311c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/chrono-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ int main()
362362
363363
// year_month_day_last
364364
year_month_day_last ymdl = June / last / 2021;
365-
std::cout << ymdl - years{1} - months{1} << '\n'; // 2022/Jul/last
365+
std::cout << ymdl - years{1} - months{1} << '\n'; // 2020/May/last
366366
367367
// year_month_weekday
368368
year_month_weekday ymw{ year(1997) / January / Wednesday[1] };

0 commit comments

Comments
 (0)