Commit 64dd1ed7 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

dynamic dates on available times

parent 9f30829b
......@@ -67,8 +67,11 @@ app.get('/demo/input/785b50c5-4804-462d-8a24-1dc2c9fd14f8', function (req, res)
app.get('/demo/availableTimes/ms/HELCOM_NEMO', function (req, res) {
var now = new Date();
var from = new Date().setHours(now.getHours()-72);
var to = new Date().setHours(now.getHours()+120);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment