On 14 December 2012 22:53, Antoine Mathys <barsa...@gmail.com> wrote: > The proper mapping between 24 hours and 12 hours modes is: > 0 12 AM > 1-11 1-11 AM > 12 12 PM > 13-23 1-11 PM > Fix code accordingly. > > Signed-off-by: Antoine Mathys <barsa...@gmail.com>
Sorry, I missed this patch earlier. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> (and I've had confirmation from somebody that this change makes us match the hardware behaviour where AM/PM is toggled when we go from 11:59 to 12:00). I tweaked the commit message a little (added hw/ds1338: prefix to the summary and removed the hardcoded tabs) and have queued it in arm-devs.next. thanks -- PMM