mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-16 17:25:11 -05:00
Merge branch 'dev' into feature-ai
This commit is contained in:
commit
3583470856
@ -246,7 +246,7 @@ export class CustomFieldsQueryDropdownComponent extends LoadingComponentWithPerm
|
|||||||
|
|
||||||
customFields: CustomField[] = []
|
customFields: CustomField[] = []
|
||||||
|
|
||||||
public readonly today: string = new Date().toISOString().split('T')[0]
|
public readonly today: string = new Date().toLocaleDateString('en-CA')
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super()
|
super()
|
||||||
|
@ -165,7 +165,7 @@ export class DatesDropdownComponent implements OnInit, OnDestroy {
|
|||||||
@Input()
|
@Input()
|
||||||
placement: string = 'bottom-start'
|
placement: string = 'bottom-start'
|
||||||
|
|
||||||
public readonly today: string = new Date().toISOString().split('T')[0]
|
public readonly today: string = new Date().toLocaleDateString('en-CA')
|
||||||
|
|
||||||
get isActive(): boolean {
|
get isActive(): boolean {
|
||||||
return (
|
return (
|
||||||
|
@ -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