• Resolved gijimmyj

    (@gijimmyj)


    Is it possible to remove minutes if the time is at the top of the hour, but still display minutes for other times? How could I do this with placeholders and the formats in Events Manager? For example at 12:00pm we would display 12pm but for 12:30pm we would display 12:30pm:

    12pm
    12:30pm

    I’m stumped on this one!

    Thanks,
    -Jim

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    yes, you can try under events > settings > formatting > date/time

    Thread Starter gijimmyj

    (@gijimmyj)

    I’m aware of where the date time formatting is set, but my question is specific to removing the colon and minutes only if it is the top of the hour. There is no php datetime format for that. Is there some way to create a custom format or some other way I can accomplish this?

    I think the only way to do this would be to create a custom placeholder which uses PHP code to reformat the time in the way you want.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Format time to remove “:00” if at the top of the hour’ is closed to new replies.