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 native transformations for rounding a dateTime #510

Closed
Seddryck opened this issue Aug 24, 2019 · 1 comment
Closed

Add native transformations for rounding a dateTime #510

Seddryck opened this issue Aug 24, 2019 · 1 comment

Comments

@Seddryck
Copy link
Owner

At the moment, it's possible to round a dateTime at the level of year or month (dateTime-to-first-of-year, dateTime-to-last-of-month ...) it's also possible at the level of the day with dateTime-set-time(00:00:00) but not at the level of the hour or minute.

It should be possible to transform the value 2019-08-24 10:49:12 to 2019-08-24 10:00:00 or 2019-08-24 11:00:00 (floor or ceiling).

  • dateTime-to-floor-hour
  • dateTime-to-ceiling-hour
  • dateTime-to-floor-minute
  • dateTime-to-ceiling-minute
@Seddryck
Copy link
Owner Author

Beta available in 1.21.0-beta0286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant