helpscout / helpscout-api-php

PHP Wrapper for the Help Scout API
MIT License
99 stars 62 forks source link

UTC conversion and timestamp format adjustment #139

Closed bkuhl closed 5 years ago

bkuhl commented 5 years ago

Addresses https://github.com/helpscout/helpscout-api-php/issues/138

@tompedals Looks like a Tag originally had the timestamp handling correctly but we didn't reproduce that correct handling of timestamps elsewhere. This PR expands that so all entities use the correct timestamp format but also centralizes the UTC timestamp conversion to reduce the chances a developer overlooks doing the conversion on prior to passing it off to our SDK.