server.js: fix wrong s to h function
This commit is contained in:
parent
fcda05dfc6
commit
3e1e242301
|
@ -373,11 +373,8 @@ On Exit: {{onexit}}<br>
|
|||
|
||||
function stodate(value) {
|
||||
var date = new Date(0);
|
||||
// Workaround an incompatibility with a temporary version, you can remove this "if"
|
||||
if (value !== undefined) date.setSeconds(value);
|
||||
date.setSeconds(value);
|
||||
var timeString = date.toISOString().substring(11, 19);
|
||||
return timeString;
|
||||
return date.toISOString().substring(11, 19);
|
||||
}
|
||||
|
||||
function current_recipe(data) {
|
||||
|
|
Loading…
Reference in New Issue