-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(IT Wallet): [SIW-1834] Refactor date claim parser (#6431)
## Short description In this PR, an attempt was made to fix a problem of misalignment of dates from when we receive them from the issuer to when we submit them in the credential claim preview. ## List of changes proposed in this pull request - Removed `localeDateFormat` - Replaced the date parser with a new `SimpleDateFormat` type and `SimpleDateClaim` - Checked every claim format and aligned with Figma where necessary - Added tests to the parser ## How to test Obtain some credentials to check that the dates are correct, formats are correct, and changing the TZ works as expected. Thanks @mastro993 for the help and the suggestions. --------- Co-authored-by: Federico Mastrini <[email protected]>
- Loading branch information
Showing
10 changed files
with
186 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.