diff options
Diffstat (limited to 'ext/date/lib/timelib.c')
-rw-r--r-- | ext/date/lib/timelib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/date/lib/timelib.c b/ext/date/lib/timelib.c index 071d6f40ce..7d647abf6d 100644 --- a/ext/date/lib/timelib.c +++ b/ext/date/lib/timelib.c @@ -205,6 +205,13 @@ void timelib_dump_date(timelib_time *d, int options) if (d->have_weekday_relative) { printf(" / %d.%d", d->relative.weekday, d->relative.weekday_behavior); } + if (d->have_special_relative) { + switch (d->special.type) { + case TIMELIB_SPECIAL_WEEKDAY: + printf(" / %lld weekday", d->special.amount); + break; + } + } } printf("\n"); } |