somewhere

This commit is contained in:
Swift
2023-08-17 13:05:51 +03:30
parent 30c7eb0e7b
commit 53843207cc
429 changed files with 117489 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
import Vue from 'vue'
import moment from 'moment-jalaali'
function jDate(date) {
return moment(date).format('jYYYY/jMM/jDD')
}
function jDateTime(date) {
return moment(date).format('jYYYY/jMM/jDD - HH:mm:ss')
}
Vue.prototype.$jDate = jDate
Vue.prototype.$jDateTime = jDateTime