Mark Lord 48452e5f99 /proc/acpi/alarm: handle day-of-month wraparound on readback
Fix month wrap issue with readback from /proc/acpi/alarm
This bug has been around *forever*.

  $ echo '2008-12-01 10:36:20' > /proc/acpi/alarm
  $ cat /proc/acpi/alarm
  2008-11-01 10:36:20

Note how the readback above shows the month incorrectly
when the alarm is set in the *next* calendar month.
But with this patch applied, it shows the correct month (12).

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-12-10 00:29:35 -05:00
..
2008-11-11 21:17:26 -05:00
2008-11-11 21:14:49 -05:00
2008-10-22 23:33:29 -04:00
2008-11-11 21:17:26 -05:00
2008-10-22 23:33:29 -04:00
2008-11-11 21:15:50 -05:00
2008-11-27 01:55:21 -05:00
2008-02-07 03:33:23 -05:00
2008-07-16 23:27:07 +02:00
2008-11-11 21:14:15 -05:00
2008-10-23 00:11:07 -04:00
2008-10-22 23:33:29 -04:00
2008-11-11 21:17:26 -05:00
2008-11-11 21:14:49 -05:00
2008-11-11 21:15:50 -05:00