Merge 4aad44c5cb925f3de9cf2e5b53bd0292174f8b3e into 4290ea753912378913b1f3f54e0fc5720afeda5d
This commit is contained in:
commit
329fb1b873
@ -73,6 +73,9 @@ class FromUNIXTimestamp extends Operation {
|
||||
if (units === "Seconds (s)") {
|
||||
d = moment.unix(input);
|
||||
return d.tz("UTC").format("ddd D MMMM YYYY HH:mm:ss") + " UTC";
|
||||
} else if (units === "Minutes (m)") {
|
||||
d = moment(input * 60);
|
||||
return d.tz("UTC").format("ddd D MMMM YYYY HH:mm:ss.SSS") + " UTC";
|
||||
} else if (units === "Milliseconds (ms)") {
|
||||
d = moment(input);
|
||||
return d.tz("UTC").format("ddd D MMMM YYYY HH:mm:ss.SSS") + " UTC";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user