Subject: | Feature request - return partial dates |
Hi Flavio
I would like to to consider adding two features:
1) The ability to make the $UNDEF_CHAR specifiable when (eg) $date->ymd
is called. This would make it easier to convert dates to (eg)
1970-00-00 for MySQL
and
2) The ability to print partial dates, so if you have 1970-10-xx, it
will return 1970-10, but if you have xxxx-10-24, it will return 10-24.
I realise this is a bit tricker, because 1970-xx-24 doesn't have a
meaningful return value...
thanks
Clint