[api2] Fix timestamp format