Skip to content

Commit bba1b9c

Browse files
committed
Bug #34308417 Fixing a type-o, should be "truncate"
Missed type-o Contributed by Dimitry Kudryavtsev Change-Id: Ib70c4dfd4d8d350be9f4a3f4df1e36efaaac2979
1 parent ea885ad commit bba1b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysys/my_time.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2131,7 +2131,7 @@ void get_date_from_daynr(int64_t daynr, uint *ret_year, uint *ret_month,
21312131
if (day_of_year > 31 + 28) {
21322132
day_of_year--;
21332133
if (day_of_year == 31 + 28)
2134-
leap_day = 1; /* Handle leap years leapday */
2134+
leap_day = 1; /* Handle leap year's leap day */
21352135
}
21362136
}
21372137
*ret_month = 1;

0 commit comments

Comments
 (0)