I've nearly come full circle on this
simpletime should be simpletime
90% of my use is as an inline timestamper where I use it to work out time difference between two messages.
Going to any sort of complication just so that the date looks a bit nicer to my eyes isn't worth it if means it looks worse for others
So I formally cancel my request
But if you fancy adding in these four - it would make it easier to make up a UK format if really needed
mymonth as mmm (or even full name?????)
myday as ddd (or even full name????)
mydom (day of month) [d]d (no leading zero)
myyear yyyyy
I'll try and have a look over the weekend, and repost.
Paul
1 Like
I've just added;
mymonth
myday
mydom
myyear
...and updated the node on npm to v2.2.0, which will be updated shortly in the node-RED palette manager.
Thanks for the feedback.
Paul
1 Like
Thank you very much
here is my JSONata code in case anyone wants my original request format
myday & " " & mydom & " " & mymonth & " "& myyear & " " & mytime
Gives
Tue 11 Sep 2018 22:26
Paul-Reed:
I've just added;
mymonth
myday
mydom
myyear
If you haven't already started - could I offer to update the node info for you?
Simon
I thought that I had already done that
What did you have in mind?
committed 07:15PM - 11 Sep 18 UTC
As discussed https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/… 2900/20
Its not made it into the editor on mine (but I can use the new things) #Confused
Just tried a shift-F5 and dragged a new instance out but made no diff #StillConfused
Paul-Reed:
I've just added;
mymonth
myday
mydom
myyear
We seem to have lost
mydate
which has broken my existing flows
Oops, sorry.
I'll fix it later today.
1 Like
I should have included ALL nodes on my September refrain list
Yes, it's all your fault!!
Fix now committed to npm, the NR node library should update shortly...
1 Like
Thanks - its back
The node info in the editor is STILL not updated though
I wonder if some bug how npm is getting updated???
Any thoughts why the readme is not being synced in the NR palette with NPM?
My bad - I forgot to update the .html file!
Now updated
Is it NR not syncing with NPM or is it NPM not syncing with Github?