I have a time field in my content type. But when I entered time in the format 05:00 AM, I get a five digit timestamp eg. 18000 (for 05:00 AM).
When I print this using
node.field_time.value|date('h:i A') it prints
which is 05:30 Hrs extra than the entered one. How do I'll get the correct time?
The default timezone is set to Kolkata which is +05:30 UTC. Is this something causing the problem?