mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 06:49:35 +00:00
[tm@store] Added store
This commit is contained in:
1 parent
a1a410c54d
commit
774ca7b607
44 files changed
+989
-720
No files matched your search
@@ -6,9 +6,15 @@ export default {
|
||||
},
|
||||
|
||||
formatDateTime(date) {
|
||||
moment(date)
|
||||
return moment(date).format('DD.MM.yyyy, HH:mm')
|
||||
},
|
||||
|
||||
formatDateTimeForBackend(date) {
|
||||
return moment(date).format('YYYY-MM-DD HH:mm:ss')
|
||||
},
|
||||
|
||||
|
||||
isBefore(date, compareTo = null) {
|
||||
return moment(date).isBefore(moment(compareTo))
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user