Bug #63699: performance improvements for varios ext/date functions