# Local time for text input node using datetime picker

**URL:** <https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559>\
**Category:** General\
**Created:** [14 April 2023 08:10 UTC](https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559 "2023-04-14T08:10:45Z")\
**Posts on this page:** 6\
**Page:** 2

<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:** [16 April 2023 12:59 UTC](https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559/21 "2023-04-16T12:59:15Z")

</div>

I have tested it and it works ok for me, at least for my simple test.  
For anyone who doesn't know how to install it from git then `cd` into your .node-red folder and run  
`npm install node-red/node-red-dashboard`  
That can take quite a long time, so do not despair if it seems to take forever, particularly on a low powered pi for example. Then restart node-red and refresh the browser windows. If strange things are happening it may be necessary to clear the cache in the browser.  
To revert to the released version then run  
`npm install node-red-dashboard`

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [16 April 2023 18:43 UTC](https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559/22 "2023-04-16T18:43:46Z")

</div>

Valid question. The date time option was only added last year (Feb22). But if it has been broken the whole time then does a fix to fix it then un-break it ? Do two wrongs make a right semantically ? 🙂

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [16 April 2023 18:45 UTC](https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559/23 "2023-04-16T18:45:20Z")

</div>

Yes for some reason installed from git using rpm takes forever... yarn works a lot better - no idea why... (and not something I'm going to recommend nor investigate as it's not a mainstream path)

---

<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:** [16 April 2023 20:54 UTC](https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559/24 "2023-04-16T20:54:49Z")

</div>

> [@dceejay](#):
>
> date time option was only added last year (Feb22)

Oh, I thought it was much longer ago.

> [@dceejay](#):
>
> Do two wrongs make a right semantically

I don't see how it can be left as it is, since it does emit the wrong time, and it isn't even trivial to adjust it to the correct time in the flow.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [16 April 2023 21:20 UTC](https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559/25 "2023-04-16T21:20:39Z")

</div>

The node has been around a while but the date time -local was only added recently. And yes definitely will be fixed, but I think it is a bug fix rather than a breaking change. ( currently);

---

<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:** [15 June 2023 21:20 UTC](https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559/26 "2023-06-15T21:20:50Z")

</div>

Closed on 15 June 2023 21:20 UTC

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

[Previous page](https://discourse.nodered.org/t/local-time-for-text-input-node-using-datetime-picker/77559.md?page=1)
