Momentjs ： fix some method type

I have compile warning some method.
Plz merge.