mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Allow formatting non-padded dates
This commit is contained in:
@@ -38,7 +38,7 @@ export class LocalizedDateParserFormatter extends NgbDateParserFormatter {
|
||||
* It also strips commas or periods before running formatting,
|
||||
* which allows quick entry of the date on the numpad.
|
||||
*/
|
||||
private preformatDateInput(value: string): string {
|
||||
public preformatDateInput(value: string): string {
|
||||
let inputFormat = this.getDateInputFormat()
|
||||
let dateSeparator = inputFormat.replace(/[dmy]/gi, '').charAt(0)
|
||||
|
||||
|
Reference in New Issue
Block a user