mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-12 17:04:40 -05:00
Fix: fix date format for 'today' in DateComponent (#10369)
This commit is contained in:
parent
feb320cae9
commit
924471b59c
@ -59,7 +59,7 @@ export class DateComponent
|
|||||||
@Output()
|
@Output()
|
||||||
filterDocuments = new EventEmitter<NgbDateStruct[]>()
|
filterDocuments = new EventEmitter<NgbDateStruct[]>()
|
||||||
|
|
||||||
public readonly today: string = new Date().toISOString().split('T')[0]
|
public readonly today: string = new Date().toLocaleDateString('en-CA')
|
||||||
|
|
||||||
getSuggestions() {
|
getSuggestions() {
|
||||||
return this.suggestions == null
|
return this.suggestions == null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user