Timezones

From MyMobileWorkers API
Jump to: navigation, search

Due to the changes in BST when querying for data with date params it has become apparent that it may not bring back to correct data if the date within the param is local time (current timezone). All get by calls with date params are queried in UTC within our system so searching by local time will no bring back the data needed (particularly if you are searching between min-to-min or hour-to-hour).

A new timezone header param has been created to combat this particular issue, this will adjust the dates put into the query to match UTC & pull out the correct data:

If there is no timezone param then the call assumes the dates are based on UTC automatically without any conversion.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox