Fix bug date on safari browser