How do you round up/ round down a momentjs moment to nearest minute?
I have checked the docs, but there doesn\'t appear to be a method for this.
Note that I
Partial answer:
To round down to nearest moment minute:
var m = moment(); m.startOf('minute');
However, the equivalent for rounding up, endOf, doesn't quite give the expected result.
endOf