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

Auto-detect date/time format for current dates #3

Open
ygoe opened this issue Aug 30, 2018 · 0 comments
Open

Auto-detect date/time format for current dates #3

ygoe opened this issue Aug 30, 2018 · 0 comments

Comments

@ygoe
Copy link
Owner

ygoe commented Aug 30, 2018

Each supported date/time format has a characteristic value range for "current" dates. If a date is known or expected to be current, the date format may be detected from the range of the provided numeric value.

Define what "current" means. Examples:

  • Now ± 10 years, if that's practical.
  • Interpret the number as all known formats and choose the format closest to now.
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

No branches or pull requests

1 participant