Just a quick fix for date 'h' formatting (12-hour, leading zero). It was trying to do integer_to_list twice. Threw in some extra unit tests while I was at it.
I came to this by way of ChicagoBoss. New to it, but loving it!
Fixed date formatting for 'h', added tests.
Removed extra integer_to_list conversion from tag_to_value/3 for $h.
Added tests for "h", "H", "i", and "Y" to each test case.
"Extra unit tests" are music to my ears. Thanks for the patch!