-
Notifications
You must be signed in to change notification settings - Fork 16
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
Get/set_date #20
Comments
yeah, mmm. YMD only is quite typical for json. I'd better add |
The following won't work:
In general, I would say the get/set methods should be symmetric. get_date_time, set_date_time would work |
But why do you say it is non symmetric ? |
you are correct. i had |
Set_date stores YYYY-MM-DD, but get_date requires '^(\d{4})-(\d{2})-(\d{2})(T|$)' with T or $ at the end (same regex in to_abap).
So you can't get a date that was set before. Maybe set_date should store YYYY-MM-DDT00:00:00Z
The text was updated successfully, but these errors were encountered: