Closed (fixed)
Project:
Event
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2008 at 04:01 UTC
Updated:
8 Jan 2009 at 16:30 UTC
When editing and previewing a node, a minutes value below 10 is not given a leading zero in the preview. 12:00 becomes "12:0", 12:01 becomes "12:1", etc.
The attached patch pads the minutes value in case 'i' of event_format_date, but I do not know if this is the appropriate place for the patch.
This can also be fixed by rewriting explode_date and implode_date to pad everything, but that makes the functions look uglier.
| Comment | File | Size | Author |
|---|---|---|---|
| event_pad_minutes[1].diff | 410 bytes | dturover |
Comments
Comment #1
killes@www.drop.org commentedthanks!