Correct timestamp format in task sanitization.
This commit is contained in:
1 parent
615c8d418b
commit
474dc5c94e
1 file changed
+2
-1
@@ -84,7 +84,8 @@ expandParam = (param) ->
|
||||
|
||||
|
||||
sanitizeTask = (task, callback) ->
|
||||
task.timestamp = new Date() if not task.timestamp?
|
||||
task.timestamp = new Date(new Date(task.timestamp ? Date.now()))
|
||||
|
||||
switch task.name
|
||||
when 'getParameterValues'
|
||||
projection = {}
|
||||
|
||||
Reference in new issue
Block a user