Skip to content

Conversation

@tomas-sexenian
Copy link
Contributor

@tomas-sexenian tomas-sexenian requested a review from iroqueta March 2, 2023 15:39
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@tomas-sexenian
Copy link
Contributor Author

Issue originally talked about FromJSON adding/subtracting 100 years from a date but when debugging I discovered that the real problem is that when a date is assigned like &DateTime = #1800-01-01 00:00:00.000# its date format comes up as yy-MM-dd instead of a full year one and therefore the property first year of 20th century is being taken into consideration when in reality there is no need for that.

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

iroqueta
iroqueta previously approved these changes Mar 3, 2023
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@tomas-sexenian tomas-sexenian requested a review from iroqueta March 8, 2023 15:13
@tomas-sexenian tomas-sexenian merged commit e1d92dc into master Mar 9, 2023
@tomas-sexenian tomas-sexenian deleted the FromJsonAdds100yrs branch March 9, 2023 12:13
tomas-sexenian added a commit that referenced this pull request Mar 10, 2023
* hasLongYear was giving wrong result
Issue:101533

* Revert "hasLongYear was giving wrong result"

This reverts commit 934d354.

* If date's length is 23 then it's full year

* ctotex tests

---------

Co-authored-by: tomas-sexenian <tsexenian@genexus.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants