diff --git a/Server/src/routes/api/share.js b/Server/src/routes/api/share.js index 663b3b1..f58a874 100644 --- a/Server/src/routes/api/share.js +++ b/Server/src/routes/api/share.js @@ -133,7 +133,7 @@ function getEventMeta(req, res, id){ - + @@ -147,6 +147,12 @@ function getEventMeta(req, res, id){ }); } +function dateToString(dte){ + var val = dte.toLocaleString([],{ timeZone: 'America/Denver', day: 'numeric', month: 'numeric', year: 'numeric', hour: 'numeric', minute:'2-digit'}); + console.log(val); + return val; +} + const MONTHS_FULL = { 0: "JANUARY", 1: "FEBRUARY",