I have some Canvas pages on which I want to show the last time the Canvas was reloaded.
Using the date function with a date formatted as shown below, the time zone is in UTC. The timezone setting in Kibana (7.16.2) is correct, so Canvas datetimes are not aligned with Kibana settings.
Reading the Moment.js documentation does not help much, since Moment.js seems to be deprecated and timezone support seems to require Moment.js add-ons.
Thanks for your example and for pointing me to the Github issue.
In my case all users are also in the same timezone, so I can apply the suggested solution. However, it would be a better solution, if the issue was fixed and the canvas could relay the browser's locale.
Several people ask for a patch on Github, so I would like to know from the Kibana developers what the plans are?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.