fixing deprecation warnings from Moment (and breaking compat with pre-2.8.1 Moment)