Add a post, javascript date format