Start a new topic

Wrong time for Caracas Venezuela

From a custom endpoint, I got this code:

 

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

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

It seems to me the timezone module is out of date.

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


Hello Andres,


We've made some recent changes to the Kinvey backend that may or may not address this problem. Is this problem still an issue for you?


We look forward to hearing back from you.


Regards,


Billy

Hello Billy,

Is there any news regarding this issue?

 

Hello Andres,


You are likely correct about the timezone module. While it probably doesn't matter, can you send me the app name and the name of the environment that is experiencing this.


Also, when did this start happening?


Regards,


Billy

Hello Andres,


I have reproduced the problem and I have escalated this problem to Engineering for remediation. They have acknowledged it. We will notify you once the problem has been resolved.


Regards,


Billy

Hello Billy,

Thank you very much.

 

Hello Andres,


We have determined that there is a module in the Kinvey backend that needs to be updated. I have updated the escalation asking for an estimated deployment of this update and will confirm with you when I know more.


Regards,


Billy Gee

    BACK-3028
Login or Signup to post a comment