[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GT] Q re DateTime



Here is a tricky issue I discovered:

The current code in DateTime::Month is inconsistent with both the
documentation and the usage in DateTime::Day.

The documentation and DateTime::Day requires a format that separates the
time entities by "-": YYYY-MM-DD, YYYY-MM.

The code in DateTime::Month, however, implements "/" as separator:
YYYY/MM.

I believe the latter is a mistake. Please advise whether anybody relies
on this inconsistency. If I don't hear anything back, I shall fix this
to be consistent and use YYYY-MM as the format.

Cheers, Th.