Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add date/time blocks #26

Open
bartbutenaers opened this issue Sep 1, 2018 · 2 comments
Open

Add date/time blocks #26

bartbutenaers opened this issue Sep 1, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@bartbutenaers
Copy link
Owner

@cymplecy : created this issue for your request to add date/time blocks.

From this discussion on the Blockly forum, I assume there are no standard blocks available for date/time.

Seems that the IoBroker project has added some dateTime blocks. Is this what you had in mind? There code is here (caution: if ok, we still need to convert the block definitions to JSON format!).

@bartbutenaers bartbutenaers self-assigned this Sep 1, 2018
@bartbutenaers bartbutenaers added the enhancement New feature or request label Sep 1, 2018
@cymplecy
Copy link
Collaborator

cymplecy commented Sep 2, 2018

Simply start off with one that returns a string "YYYYMMDDHHSS" (or something like that) that is easy to extract each part out

and one that looks nice
e.g
2 Sep 2018 22:32

and day of the week

and we better have the standard NodeRED timestamp

and

while your on

Year
Month
Day
hours
Minutes

Ok - lets just have EVERYTHING!

@bartbutenaers
Copy link
Owner Author

If we ever want to implement this, in the blockly forum there is another library available...
It supports a.o. these blocks:

image

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants