Custom field – Time format incorrect

This topic contains 2 replies, has 3 voices, and was last updated by  Stiofan O’Connor 10 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #11579

    Jeff
    Buyer
    Post count: 188

    When you add a custom field of type TIME, and add data using the timepicker, it shows 24 hour time 17:30 and stores it in the database that way.

    However, when you retrieve the data and redisplay it, it seems to come back in 12 hour format as 5:30 – which then resaves as 05:30 am, instead of 5:30pm (17:30).

    If the user is editing a post, but not observing the time field data, it will become incorrect.

    #11623

    Simone
    Expired Member
    Post count: 3515

    Thanks for spotting this Jeff

    #11742

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks Jeff, i have fixed this and it will be in next version.

    Stiofan

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount