Change pattern to obtain others date formats
Change how event dates are saved, fixes #4436