QuickBooks Web Connector TimeModified offset does not account for Daylight Savings time

送分小仙女□ 提交于 2019-12-05 08:44:26

According to a moderator of the IPP community, this is a bug. Unfortunately we have no way of tracking it.

"QBWG-18389 - DST is not showing correctly in TimeCreated & TimeModified Fields ... We do not have a way to track these externally."

Incorrect TimeModified Offset - Intuit Partner Platform Community

I have verified this bug even in QB 2019 :(

While not optimal, there is an easy workaround:

Check to see if the time is in the future. If it is, subtract one hour.

//Pseudocode
if (timeModified.after(now())
  return timeModified.minus(oneHour)
else
  return timeModified

This change would still work if the bug was ever fixed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!