reefangel/Libraries — pull request #43 by phrusher (2012-08-17 06:22:33+00:00)
Title: Fix for issue #24. Added option to use 12h or 24h clock.

Adds the method SetupDateTime24 with the option to select between 12h and 24h. If 24h selected it renders date and time according to ISO 8601.
Ex. 2012-06-27 19:00

SetupDateTime24 is activated with define "DATETIME24".

This is pretty much the same as my previous pull request (#29) but squashed into one single commit. Hopefully that will make it easier to review.

I pulled the changes from 1.0.1 so it should be reasonably up to date and simple to merge unless I screwed something up with git (and that wouldn't surprise me at all)...

Below are my compile sizes with different options:
29448	1.0.1	RA
29448	patch	RA
29816	patch	RA	w DATETIME24
31246	patch	RA+
31602	patch	RA+	w DATETIME24