Hi, i tried to set the timezone to 'Europe/Paris' using moment.js but it does not work as expected, at every attempt i miss 2 hours and all my shedule is wrong because of it.
i make :
HGantt.setOptions({
time: {
timezone: 'Europe/Paris'
}
});
and when i try :
console.log(
'Current time in Paris',
HGantt.time.dateFormat('%Y-%m-%d %H:%M:%S', Date.now())
i got this output : Current time in Paris 2021-03-29 13:34:34 (but actualy its 15:34.34)
Can somebody have an explanantion ? did i use it wrong ?