following example try to parse date from string (2016-03-27T02:00:00) using moment.js
http://jsfiddle.net/PAc3j/507/
var date = moment("2016-03-27T02:00:00").format('DD-MM-YYYY hh:mm:ss');
alert(date);
Script executed on firefox gives 2016-03-27 01:00:00
Script executed on chrome gives 2016-03-27 03:00:00
How to enforce moment to return the same date regardless of used browser?
I forgot to mention the context. String passed to moment constructor is user localtime. The date is special because in Europe at this time TimeZone is changed from UTC+1 to UTC+2. So in local time 2016-03-27 02:00:00 does not exists. Browser have to fallback to existing local date. I would like this date to be the same regardless of browser.