fixed parsing date on Safari, fixes #ORG-1972