@mongoosejs/studio
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -8,3 +8,22 @@ 'use strict'; | ||
props: ['value'], | ||
emits: ['input'] | ||
emits: ['input'], | ||
computed: { | ||
valueAsLocalString() { | ||
if (this.value == null) { | ||
return this.value; | ||
} | ||
const date = new Date(this.value); | ||
return [ | ||
date.getFullYear(), | ||
'-', | ||
(date.getMonth() + 1).toString().padStart(2, '0'), | ||
'-', | ||
date.getDate().toString().padStart(2, '0'), | ||
'T', | ||
date.getHours().toString().padStart(2, '0'), | ||
':', | ||
date.getMinutes().toString().padStart(2, '0') | ||
].join(''); | ||
} | ||
} | ||
}); |
{ | ||
"name": "@mongoosejs/studio", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "archetype": "0.13.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
172604
1524