Trying to convert a UTC date and time to local time ("Europe/Paris") using moment's timezone function, but encountering issues. The code I am using is:
var m = moment.tz(this.startTime, 'Europe/Paris');
this.startTime = m.format("YYYY-MM-DD HH:mm")
Despite logging the correct date in the moment object, the startTime value remains unchanged after running this code. https://i.stack.imgur.com/oFpTP.png