From f53367171161e4a9ec8543e45e9041385d1465a3 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sun, 4 May 2008 20:52:56 +0000 Subject: - MFH: Added support for " of" phrases to be used with months - like in "last saturday of februari 2008". --- ext/date/lib/timelib.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/date/lib/timelib.c') diff --git a/ext/date/lib/timelib.c b/ext/date/lib/timelib.c index 00868a2c03..61cc55ab78 100644 --- a/ext/date/lib/timelib.c +++ b/ext/date/lib/timelib.c @@ -242,6 +242,12 @@ void timelib_dump_date(timelib_time *d, int options) case TIMELIB_SPECIAL_WEEKDAY: printf(" / %lld weekday", d->relative.special.amount); break; + case TIMELIB_SPECIAL_DAY_OF_WEEK_IN_MONTH: + printf(" / x y of z month"); + break; + case TIMELIB_SPECIAL_LAST_DAY_OF_WEEK_IN_MONTH: + printf(" / last y of z month"); + break; } } } -- cgit v1.2.1