arreglo de a hora
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
const api = {}
|
||||
|
||||
api.url = 'http://localhost:3000'
|
||||
api.url = 'https://venus.acatlan.unam.mx/puma'
|
||||
// api.url = 'https://venus.acatlan.unam.mx/puma'
|
||||
api.isAuth = function () {
|
||||
if (window.localStorage.pcpumaT && window.localStorage.pcpumaU) {
|
||||
return true
|
||||
|
||||
@@ -109,7 +109,7 @@ export default {
|
||||
},
|
||||
maxFecha: function (date) {
|
||||
let dt = new Date(date)
|
||||
dt.setMinutes(dt.getMinutes() + 30)
|
||||
dt.setMinutes(dt.getMinutes() + 15)
|
||||
dt.setHours(dt.getHours() + 2)
|
||||
// console.log(dt)
|
||||
return `${dt.getMonth() + 1}-${dt.getDate()} ${dt.getHours()}:${dt.getMinutes()}`
|
||||
|
||||
Reference in New Issue
Block a user