fancy date bug fix