Skip to content
Snippets Groups Projects
Commit b74f3f0d authored by JunGu Kang's avatar JunGu Kang
Browse files

Merge branch '#37' into 'development'

#37 Fix Datetime Field Bug

See merge request !33
parents db78de4f 7669923a
No related branches found
No related tags found
2 merge requests!37Deploy,!33#37 Fix Datetime Field Bug
Pipeline #4363 passed
...@@ -78,9 +78,11 @@ export default { ...@@ -78,9 +78,11 @@ export default {
}, },
created() { created() {
if (this.datetime) {
const m = moment(this.datetime); const m = moment(this.datetime);
this.date = m.format('YYYY-MM-DD'); this.date = m.format('YYYY-MM-DD');
this.time = m.format('HH:mm'); this.time = m.format('HH:mm');
}
}, },
}; };
</script> </script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment