Fix: also fix frontend date format in other places

See #10369
This commit is contained in:
shamoon 2025-07-11 00:46:20 -07:00
parent 924471b59c
commit fa496dfc8d
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ export class CustomFieldsQueryDropdownComponent extends LoadingComponentWithPerm
customFields: CustomField[] = []
public readonly today: string = new Date().toISOString().split('T')[0]
public readonly today: string = new Date().toLocaleDateString('en-CA')
constructor() {
super()

View File

@ -165,7 +165,7 @@ export class DatesDropdownComponent implements OnInit, OnDestroy {
@Input()
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 {
return (