This commit is contained in:
@@ -178,6 +178,16 @@ export default {
|
||||
.toISO(); //output as ISO 8601
|
||||
},
|
||||
///////////////////////////////////////////////
|
||||
// UTC Now in api format
|
||||
// to UTC and output as ISO 8601
|
||||
// (used to set defaults)
|
||||
//
|
||||
nowUTC8601String() {
|
||||
return window.$gz.DateTime.local()
|
||||
.toUTC()
|
||||
.toString();
|
||||
},
|
||||
///////////////////////////////////////////////
|
||||
// Convert a utc date to local time zone
|
||||
// and return date only portion only in iso 8601
|
||||
// format (used by time and date picker components)
|
||||
|
||||
Reference in New Issue
Block a user