# Date & time format in debug sidebar

**URL:** <https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003>\
**Category:** General\
**Created:** [21 November 2022 17:58 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003 "2022-11-21T17:58:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bzq-pl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bzq-pl/32/71137_2.png) [@bzq-pl](https://discourse.nodered.org/u/bzq-pl)\
**Post date:** [21 November 2022 17:58 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003/1 "2022-11-21T17:58:08Z")

</div>

Hi,  
probably this is related with my last node-red upgrade ... but I noticed it in last days. Is there any way to change date & time used by node-red to display in debug sidebar? Now it looks like this:

 ![Untitled](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/e/4e2143aa8bd48ecbb85fe15f8efa313ecf38185a.jpeg)  
... and I would like to change this format to other like yyyy-mm-dd 24hh:mm:ss  
have anybody got the same issue?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 November 2022 20:50 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003/2 "2022-11-21T20:50:46Z")

</div>

Welcome to the forum @bzq-pl

I believe that format is set by the regional date settings on the machine running the browser.

---

<div class="post-metadata">

**Author:** ![bzq-pl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bzq-pl/32/71137_2.png) [@bzq-pl](https://discourse.nodered.org/u/bzq-pl)\
**Post date:** [21 November 2022 21:12 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003/3 "2022-11-21T21:12:54Z")

</div>

on my laptop I have European date and time format - for sure I'm not using US format. I also checked what format is defined on server where I have node-red installed and there is also European format ... ☹

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 November 2022 21:26 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003/4 "2022-11-21T21:26:55Z")

</div>

What browser and version are you using? Perhaps you have configured the browser to use a particular time format.

Can you try a different browser to see if it is different there?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [21 November 2022 21:29 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003/5 "2022-11-21T21:29:26Z")

</div>

Odd, my output is in UK format as expected on both local dev (Windows) and server live (Debian Linux). It isn't down to the local OS settings though since I have date/time settings on my dev PC (Windows) set to:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/a/5a250be87c96ef1454c54eb8a0e69c1e85060415.png)

So it is ignoring that, hard to say though whether it is the browser doing that, node.js, or Node-RED. I always prefer `YYYY-MM-DD HH:mm:ss` so I wish that the output did follow the full OS settings.

Double check your browser settings as well to make sure it isn't set to prefer US English.

---

<div class="post-metadata">

**Author:** ![bzq-pl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bzq-pl/32/71137_2.png) [@bzq-pl](https://discourse.nodered.org/u/bzq-pl)\
**Post date:** [21 November 2022 21:55 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003/6 "2022-11-21T21:55:02Z")

</div>

you are right! this is determined by browser. One browser (Firefox) displays with US format and other (Safari) displays as I have defined in OS Settings.

Thank you for hint !!! 🙂

---

<div class="post-metadata">

**Author:** ![bzq-pl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bzq-pl/32/71137_2.png) [@bzq-pl](https://discourse.nodered.org/u/bzq-pl)\
**Post date:** [21 November 2022 21:56 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003/7 "2022-11-21T21:56:33Z")

</div>

yep - browser (Firefox) overwrites OS system settings ...

thank you for help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 December 2022 21:57 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003/8 "2022-12-05T21:57:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
