-
Notifications
You must be signed in to change notification settings - Fork 387
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Unix time (also known as POSIX time or epoch time) is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970 - Wikipedia
So, I understand that timeOffset
is used to set timezone to get correct "local" time. But method getEpochTime()
should return as it's name says - a Unix time in UTC regardless of "local" timezone. So looks like this->_timeOffset
should not be added to this->_currentEpoc
in NTPClient::getEpochTime()
Metadata
Metadata
Assignees
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project