1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-29 04:17:41 +02:00
bitwarden-browser/libs
Calum Lind 3f35b78b40
[PM-2256] Fix importer parsing credit card expiry year (#5444)
* Fix importer parsing credit card expiry year

When importing a credit card from Enpass it was found that with a 4
digit expiry year was prefixed with '20', stored at 11/202025 instead of
11/2025.

Fixed typo that checked length of month instead of year which
incorrectly added prefix.

* Refactor setCardExpiration to use RegExp
2023-05-31 09:08:39 +01:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
angular [AC-1104] Fix access import/export with custom permission (#5014) 2023-05-30 16:30:15 -07:00
common Feature/[PM-1378] - Trusted Device Encryption - Establish trust logic for all clients (#5339) 2023-05-25 14:17:19 -04:00
components [SM-628] Add trim validator to SM dialogs (#4993) 2023-05-30 18:52:02 -04:00
exporter [PM-2328] Fix jest deprecations (#5483) 2023-05-22 20:19:16 +02:00
importer [PM-2256] Fix importer parsing credit card expiry year (#5444) 2023-05-31 09:08:39 +01:00
node [PM-2328] Fix jest deprecations (#5483) 2023-05-22 20:19:16 +02:00
shared [PM-2328] Fix jest deprecations (#5483) 2023-05-22 20:19:16 +02:00