Skip to content

Query entries summary sending timezoneOffset #358

@enriquezrene

Description

@enriquezrene

After implementing ioet/time-tracker-backend#169 please call the endpoint /time-entries/summary adding the timezoneOffset query parameter as follows:

GET /time-entries/summary?time_offset={offsetInMinutes}

offsetInMinutes can be get easily with the following js function:

Date.prototype.getTimezoneOffset()

More info available here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions