I was trying to use z or zz in format to display the timezone at the end of the string and found that it\'s deprecated. Z and ZZ
Probably this is not a good way, but I did not want to add any additional scripts in my project for local time zone, so I investigated a moment object and I get the local time zone by the code I wrote below:
var test = momentUpdateDate._d.toString().substring(test.indexOf('(')+1, test.indexOf(')'));