Author: Richard.Wendrich
Description:
While viewing the Dutch page on UTC, I encountered an inconsistency in some date/time templates.
The CURRENTDAY template returns the day of the month. When before the 10th, only 1 digit is returned.
The CURRENTMONTH template returns the month of the year (01-12), from January through September a
leading zero is added and returned are always 2 digits.
When used for displaying this should normally be no problem. On the mentioned page however, these
templates (along with a few others) are used to display the current date/time in UTC format.
However, the W3C guidelines dictate that day-of-month is always represented in 2 digits - and the
CURRENTDAY template doesn't provide that.
Maybe it would be an idea to create new templates CURRENTDAY_DD and CURRENTMONTH_MM which always
return two digits? The existing CURRENTMONTH template might be modified to behave consistently with
the existing CURRENTDAY template.
Version: unspecified
Severity: enhancement