Jan Kiszka 90c52423be lib/date: Make rtc_mktime and mktime64 Y2038-ready
We currently overflow due to wrong types used internally in rtc_mktime,
on all platforms, and we return a too small type on 32-bit.

One consumer that directly benefits from this is mktime64. Many others
may still store the result in a wrong type.

While at it, drop the redundant cast of mon in rtc_mktime (obsoleted by
714209832db1).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2022-05-05 15:06:02 -04:00
..
2022-04-11 17:11:21 -04:00
2021-01-27 16:58:57 -05:00
2021-03-01 09:54:11 -05:00
2021-11-23 09:57:55 +02:00
2020-08-24 16:37:53 +02:00
2021-03-01 09:54:11 -05:00
2021-04-20 07:31:12 -04:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00