Re: [PATCH v4 07/11] rtc: sandbox-rtc: fix set method

2020-07-09 Thread Heiko Schocher
Hello Rasmus, Am 06.07.2020 um 22:01 schrieb Rasmus Villemoes: The current set method is broken; a simple test case is to first set the date to something in April, then change the date to 31st May: => date 040412122020.34 Date: 2020-04-04 (Saturday)Time: 12:12:34 => date 053112122020.34 Dat

[PATCH v4 07/11] rtc: sandbox-rtc: fix set method

2020-07-06 Thread Rasmus Villemoes
The current set method is broken; a simple test case is to first set the date to something in April, then change the date to 31st May: => date 040412122020.34 Date: 2020-04-04 (Saturday)Time: 12:12:34 => date 053112122020.34 Date: 2020-05-01 (Friday)Time: 12:12:34 or via the amending of t