Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292473

Issue with Daterange timezone display

$
0
0

Hi,

We are using the daterange module to display the date and time in the Twig template. But it is not rendering the date and time in the given timezone. System regional/time zone setting is "America/Los_Angeles"

Example:

Data added: 07/10/2019 10:00:00 PM

Data stored in the DB: 2019-07-11T05:00:00

Data displayed on the node template: 2019-07-11 05:00 AM "{{ node.field_check_date.value|date('Y-m-d h:i A', "America/Los_Angeles") }}"

Thank You,


Viewing all articles
Browse latest Browse all 292473

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>