# Node-red-contrib-simpletime enhancement

**URL:** <https://discourse.nodered.org/t/node-red-contrib-simpletime-enhancement/29069>\
**Category:** Developing Nodes\
**Created:** [23 June 2020 12:38 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-enhancement/29069 "2020-06-23T12:38:30Z")\
**Posts on this page:** 5\
**Page:** 4

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [3 July 2020 19:34 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-enhancement/29069/61 "2020-07-03T19:34:28Z")

</div>

All updates done and now updated on NPM.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [3 July 2020 22:15 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-enhancement/29069/62 "2020-07-03T22:15:14Z")

</div>

Exciting times -trying it out on my main Node-RED install...  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/2/92a67adec21379abfa33ecdc5efb170881e19787.png)  
looks good (myymd added)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/a/fab43074e64cb4b8082cda3675b42e63322850d3.jpeg)

..and I can relax 🙂

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [4 July 2020 03:48 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-enhancement/29069/63 "2020-07-04T03:48:31Z")

</div>

Yep thats what i was getting at - everyone always says "thats almost perfect BUT could i have this ?"

My thought was throw all the values out in the message - either as properties (easier to get at) or as an object, and then people could construct whatever format they wanted with a simple switch/function/change combination

Craig

---

<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:** [4 July 2020 06:35 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-enhancement/29069/64 "2020-07-04T06:35:20Z")

</div>

> [@craigcurtin](#):
>
> a simple switch/function/change combination

Craig, if you are going to do that you may as well just start with ISO time and slice and reformat it anyway...

The latest Node-RED 1.1 release includes the moment function in jsonata so you can probably just template any date in a change node `$moment().format("Do MMM Y")` etc

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [2 September 2020 06:35 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-enhancement/29069/65 "2020-09-02T06:35:28Z")

</div>

Closed on 2 September 2020 06:35 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/node-red-contrib-simpletime-enhancement/29069.md?page=3)
