Start a new topic

Wrong timezone for Santiago Chile

 From a custom endpoint, I got this code

function onRequest(request, response, modules) {
  response.body.offset = modules.moment.tz('America/Santiago').utcOffset() / 60;
  return response.complete(200);
});

 It returns { "offset": -3 }, when it is expected to return { "offset": -4 }.

http://www.horaoficial.cl/cambio_hora.html (in Spanish)

Please help. My app is not making the right operations between dates because of this issue.

1 Comment

Hi,


The moment-timezone module you are using in Kinvey BL appears to be out of date right now and needs to be updated.


I am following up with the engineering team on this. I will keep you posted on the progress on that.


Thank you for reporting this.



Regards,

Wani

Kinvey Support


Login or Signup to post a comment