Skip to content

Commit

Permalink
Fix inconsistent translation of time part in status text
Browse files Browse the repository at this point in the history
  • Loading branch information
jensrossbach committed Jun 29, 2024
1 parent 68ba723 commit c822cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/common/chronos.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ function getTimeFrom(node, source)
}

ret.locale(node.locale);

return ret;
}

Expand Down Expand Up @@ -215,6 +214,7 @@ function getUserTime(RED, node, day, value, timeOnly = false)
throw new TimeError(RED._("node-red-contrib-chronos/chronos-config:common.error.invalidTime"), {type: "time", value: value});
}

ret.locale(node.locale);
return ret;
}

Expand Down

0 comments on commit c822cfd

Please sign in to comment.