diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-07 19:15:53 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-07 19:15:53 -0400 |
commit | 58297ca3b11b9ad526a8ac344e5ac56d9e1b5a13 (patch) | |
tree | c20ff7b7463e0fa97667a2f17c482c85e015f7e3 /assets/js/src | |
parent | 5e7e03a866459047b677e57be33eee991aa57214 (diff) |
Add datetime picker for start date
Diffstat (limited to 'assets/js/src')
-rw-r--r-- | assets/js/src/base.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/js/src/base.js b/assets/js/src/base.js index 2540f084..531488c9 100644 --- a/assets/js/src/base.js +++ b/assets/js/src/base.js @@ -277,6 +277,15 @@ var Kanboard = (function() { constrainInput: false }); + // Datetime picker + $(".form-datetime").datetimepicker({ + controlType: 'select', + oneLine: true, + dateFormat: 'yy-mm-dd', + // timeFormat: 'h:mm tt', + constrainInput: false + }); + // Markdown Preview for textareas $("#markdown-preview").click(Kanboard.MarkdownPreview); $("#markdown-write").click(Kanboard.MarkdownWriter); |