DatetimeWithTimezoneTransformer
class DatetimeWithTimezoneTransformer implements DataTransformerInterface
Methods
array
reverseTransform(array $data)
Take the timestamp from the time field and the timezone that the user provided and combine them into a single timezoned TimeDate
Details
at line line 16
array
transform(TimeDate $time)
Take a TimeDate object (with a timezone) and put its value on the time and timezone fields, so the user can see it
at line line 35
TimeDate
reverseTransform(array $data)
Take the timestamp from the time field and the timezone that the user provided and combine them into a single timezoned TimeDate