Skip to content
Snippets Groups Projects
Commit 7647977f authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Activity: preset entrydate bugfix

parent 51eca5c1
No related branches found
No related tags found
No related merge requests found
import("system.datetime");
import("system.vars");
import("system.result");
import("system.neon");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null)
result.string(vars.getString("$sys.date"));
\ No newline at end of file
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && !vars.getString("$this.value"))
result.string(datetime.date());
\ No newline at end of file
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