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

Support ISO Date Formats in Time Grains #1545

Open
moizarafat opened this issue Sep 21, 2020 · 1 comment
Open

Support ISO Date Formats in Time Grains #1545

moizarafat opened this issue Sep 21, 2020 · 1 comment

Comments

@moizarafat
Copy link
Collaborator

Support ISO Date Formats as input String for Time Grains

Expected Behavior

Input String format can be the same as the Time Grains input format and ISO Date Format. Elide should be able to parse both. Also for Weekly Time Grain, It should auto-convert to Monday.

-->

Current Behavior

The input string has to match the format of the time grain. For Ex. Monthly Grain expects YYYY-MM etc.

@aklish
Copy link
Member

aklish commented Sep 22, 2020

  1. Support ISO8601 "yyyy-MM-dd'T'HH:mm'Z" format and truncate to the underlying grain.
  2. Validate that ISO8601 weeks start on a Monday.

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

Successfully merging a pull request may close this issue.

2 participants