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

Can't assign DateTime with only year component #1483

Open
mint-thompson opened this issue Jun 27, 2024 · 0 comments
Open

Can't assign DateTime with only year component #1483

mint-thompson opened this issue Jun 27, 2024 · 0 comments

Comments

@mint-thompson
Copy link
Collaborator

Transferred from internal JIRA issue originally created 2023-09-20.

A four-digit number is a valid DateTime, but it matches the NUMBER token, so it doesn’t get assigned correctly:

* valueDateTime = 2023

When trying to assign a number to a DateTime, check if the raw value of the assignment is a four-digit number. If so, allow it.

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