Closed juancarlosgl closed 1 year ago
To avoid failure on build creating this PR as disscussed on old PR closed.
@juancarlosgl something else is off now. I think you need to rebase your branch to pickup some of the changes on main since the Mango API module build is failing and this is probably from something missing on ma-core-public:main.
Closing this PR as rebase was incorrect.
Ticket RAD-2443 where it is reported that when backup process is running and when backup file name is built when getting the current date it is happening an issue as current system date is like:
Kas-04-2022_111111
so as the month is in Turkish when it is trying to format that date to the following format:
MMM-dd-yyyy_HHmmss
the following exception happened as it is trying to load that date as an English date:
java.text.ParseException: Unparseable date: "04 Kas 2022"
Solution: We will store last execution date as a Long but on a String field.
so now we will face 4 posible scenarios:
when date is like Nov-04-2022_111111
when date is like 1699414888000 (stored as a long into an String)
when date is in any laguage different from the system; for example: Kas-07-2023_214128
a not parsable format; for example: abc-99-9999_999999 this last one never should happen as dates are created by our program.