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) {
|
function stodate(value) {
|
||||||
var date = new Date(0);
|
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);
|
date.setSeconds(value);
|
||||||
var timeString = date.toISOString().substring(11, 19);
|
return date.toISOString().substring(11, 19);
|
||||||
return timeString;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function current_recipe(data) {
|
function current_recipe(data) {
|
||||||
|
|
Loading…
Reference in New Issue