Skip to content
Snippets Groups Projects
Commit a8c88169 authored by Daniel Tran's avatar Daniel Tran Committed by Sebastian Pongratz
Browse files

Cm dt 1073911 tagzuordnung routenplanung

parent 2e17a8ec
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@ import("system.db");
import("system.text");
import("system.neon");
import("system.vars");
import("Address_lib");
var visitAddresses = [];
var addressIdStart;
......@@ -49,7 +48,9 @@ if(addressIdStart)
var selectionRowData = vars.get("$sys.selectionRows");
var UID = selectionRowData[0].UID;
var isGroup = selectionRowData[0].ISGROUP; //not Bool
var entrydateDB = datetime.toLong(UID.split("#")[1], "dd.MM.yyyy");
var entrydateDB = datetime.toLong(UID.split("#")[1], "dd.MM.yyyy", "UTC"); // UTC, otherwise client-timezone e.g.: "Europe/Berlin" is used.
// (result: time difference of 1 hour)
if(vars.exists("$param.Entries_param") && vars.get("$param.Entries_param"))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment