summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
authorSatsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>2019-06-18 15:42:08 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-06-18 15:42:08 +0900
commit5f2fda85badb14848098044b2b7fda12528b514a (patch)
treee00180c236edae3d37517fe4ad20b3ea0af608d5 /src/client/app/common
parentUse WHATWG API (diff)
downloadsharkey-5f2fda85badb14848098044b2b7fda12528b514a.tar.gz
sharkey-5f2fda85badb14848098044b2b7fda12528b514a.tar.bz2
sharkey-5f2fda85badb14848098044b2b7fda12528b514a.zip
Resolve #5069 (#5070)
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/views/components/poll-editor.vue4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/app/common/views/components/poll-editor.vue b/src/client/app/common/views/components/poll-editor.vue
index ed1d02aa2c..f7a4d3af8c 100644
--- a/src/client/app/common/views/components/poll-editor.vue
+++ b/src/client/app/common/views/components/poll-editor.vue
@@ -89,9 +89,7 @@ export default Vue.extend({
get() {
const at = () => {
- const [date] = moment(this.atDate).toISOString().split('T');
- const [hour, minute] = this.atTime.split(':');
- return moment(`${date}T${hour}:${minute}Z`).valueOf();
+ return moment(`${this.atDate} ${this.atTime}`).valueOf();
};
const after = () => {