bartbutenaers / node-red-contrib-blockly

A Node Red node for visual programming a function using Blockly
Apache License 2.0
89 stars 22 forks source link

Timezone for timestamp #73

Closed bartbutenaers closed 3 years ago

bartbutenaers commented 3 years ago

@cymplecy,

Saw that in the past you also had asked me the following on Discourse:

My one other request is to have some method of getting the local time instead of UTC At the moment I have to do something like this

image Could I suggest an extra block called local timestamp or server timestamp or timezone timestamp etc Or preferably a dropdown menu in the timestamp block if such an addition wouldn't break the existing block?_

I have pushed a change to Github:

Hopefully this is what you had in mind?

cymplecy commented 3 years ago

Looks good-will test later-just watching euro football

cymplecy commented 3 years ago

Sorry for delay - works great - I don't think I'll have any JavaScript left in my nodes after this and the environment variable changes :)

And congratulations on the win tonight - best match of the tournament so far :)

bartbutenaers commented 3 years ago

Ok, thanks for the update and test work!