platformsh / platformsh-client-php

Platform.sh API client for PHP
https://platform.sh
MIT License
25 stars 27 forks source link

Allow to specify the start date with a DateTime object when listing the activities #69

Closed NitriKx closed 2 years ago

NitriKx commented 2 years ago

DateTime is more reliable here, as it allows to specify microseconds and allows to catch activities more precisely.

This changes should not break compatibility, as the formatStartsAt method still support int timestamps (seconds).

This is related to the bug identified in the CLI (see bug explanation there).