reefangel/Libraries — pull request #29 by phrusher (2012-06-27 06:17:18+00:00)
Title: Fix for issue #24

This might fix the issue with military time. It adds the option to select between 12h and 24h in SetupDateTime and stores that value in memory. Currently that value is checked prior to drawing the time and then the relevant method is called. It's a little bit hackish and the control should probably be moved into the LCD class but hopefully it's a good start anyway. (The whole Time/Date formating should preferably be moved into a seperate helper class that could be called by LCD but that might be further down the road.)

Whith 24h selected it renders date and time according to ISO 8601. Ex. 2012-06-27 19:00