Date format when editing existing post

Support General Date format when editing existing postResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28174
    Stephen C.Stephen C.
    Participant

    I'm using a date field and have set the dateFormat in the js_options. That works great. However, when editing an existing post, the existing date is formatted displayed as it was saved in the database. Is there currently a way to have the existing date formatted using the dateFormat parameter when the form loads?

    If not, I can just write some javascript code to do it, but I wanted to check to see if there was an existing way to do it before I do that.

    #28190
    Long NguyenLong Nguyen
    Moderator

    Hi Stephen,

    I'm afraid there is no option to change the existing date formatted when editing a post. You can create your own JS code to do that or PHP code to re-update all field values in the database.

    #28200
    Stephen C.Stephen C.
    Participant

    Okay, thanks. That's easy to do.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.