Support » Plugin: Pods - Custom Content Types and Fields » pod->display of time field uses UTC

  • Resolved joneiseman

    (@joneiseman)


    When I try to do $pod->display(‘time’) where ‘time’ is a field of type time it will assume the time is in the UTC time zone and then convert that time to the local time. So, for example if the time value of the field is 9:00am, it will display it as 5:00am (in the New York time zone). If I use $pod->field(‘time’) then it will correctly display the time as 9:00am.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘pod->display of time field uses UTC’ is closed to new replies.