Commit 414e7dec authored by Nick Campbell's avatar Nick Campbell

fmt hoisted to global.

`fmt` was being hoisted as a global variable.
Signed-off-by: 's avatarNick Campbell <nicholas.j.campbell@gmail.com>
parent 0d2c9ec7
......@@ -272,6 +272,7 @@ for details.
var suffix = (opts.twelveHourClock) ? " %p" : "";
var hourCode = (opts.twelveHourClock) ? "%I" : "%H";
var fmt;
if (t < timeUnitSize.minute)
fmt = hourCode + ":%M:%S" + suffix;
else if (t < timeUnitSize.day) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment