Switch from en-CA to sv-SE for date formatting; en-CA no longer produces yyyy-mm-dd date strings
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
computed: {
|
||||
disp_date: {
|
||||
get() {
|
||||
return this.x_date.toLocaleDateString('en-CA');
|
||||
return this.x_date.toLocaleDateString('sv-SE');
|
||||
},
|
||||
set(value) {
|
||||
if(value.length > 0) {
|
||||
@@ -122,7 +122,7 @@
|
||||
},
|
||||
disp_date_end: {
|
||||
get() {
|
||||
return this.x_date_end.toLocaleDateString('en-CA');
|
||||
return this.x_date_end.toLocaleDateString('sv-SE');
|
||||
},
|
||||
set(value) {
|
||||
if(value.length > 0) {
|
||||
|
Reference in New Issue
Block a user