change ISO date to always display 4 digit years #736

This commit is contained in:
jonaswinkler 2021-03-10 18:15:23 +01:00
parent 5ab717c6be
commit 7795baf989

View File

@ -4,8 +4,8 @@ import { SettingsService, SETTINGS_KEYS } from '../services/settings.service';
const FORMAT_TO_ISO_FORMAT = {
"longDate": "y-MM-dd",
"mediumDate": "yy-MM-dd",
"shortDate": "yy-MM-dd"
"mediumDate": "y-MM-dd",
"shortDate": "y-MM-dd"
}
@Pipe({