Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

change ISO date to always display 4 digit years #736

jonaswinkler7795baf9890a
diff --git a/src-ui/src/app/pipes/custom-date.pipe.ts b/src-ui/src/app/pipes/custom-date.pipe.ts
index 6587c157a..34aaaf1b7 100644
--- a/src-ui/src/app/pipes/custom-date.pipe.ts
+++ b/src-ui/src/app/pipes/custom-date.pipe.ts
@@ -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({