arreglo de a hora

This commit is contained in:
arturogll
2019-02-07 20:15:48 +00:00
parent 5fe987416d
commit 10fc7682d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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()}`