See https://github.com/moment/moment/issues/1407 for more details. All that was needed was to manually instantiate a new Date() object