Streaming api's published_at timezone

I’d like to confirm the timezone for the published_at datetime of the streaming api envelope and I can’t seem to be able to find it in the documentation.

It’s not UTC and right now it looks like it’s BST (we are in summer time). Am I right to assume the right timezone is Europe/London?

1 Like

most published_at seems to come without milliseconds or timezone information but once in a while we get instances with both, e.g.

{"data":{"accounts":{"accounting_reference_date":{"day":"31","month":"05"},"last_accounts":{"made_up_to":"2019-05-31","period_end_on":"2019-05-31","period_start_on":"2018-06-01","type":"unaudited-abridged"},"next_accounts":{"due_on":"2021-05-31","overdue":true,"period_end_on":"2020-05-31","period_start_on":"2019-06-01"},"next_due":"2021-05-31","next_made_up_to":"2020-05-31","overdue":true},"can_file":true,"company_name":"HARRIS CARPENTRY & BUILDING LIMITED","company_number":"10234037","company_status":"liquidation","confirmation_statement":{"last_made_up_to":"2022-06-14","next_due":"2023-06-28","next_made_up_to":"2023-06-14"},"date_of_creation":"2016-06-15","etag":"ec12541aacc960139b0153c06d41f6cb58238e45","has_insolvency_history":true,"jurisdiction":"england-wales","links":{"filing_history":"/company/10234037/filing-history","insolvency":"/company/10234037/insolvency","officers":"/company/10234037/officers","persons_with_significant_control":"/company/10234037/persons-with-significant-control","self":"/company/10234037"},"registered_office_address":{"address_line_1":"13 Cotterills Road","country":"England","locality":"Tipton","postal_code":"DY4 0LA","region":"West Midlands"},"sic_codes":["41202"],"type":"ltd"},"event":{"published_at":"2022-07-29T11:04:43.334002+01:00","timepoint":47529676,"type":"changed"},"resource_id":"10234037","resource_kind":"company-profile","resource_uri":"/company/10234037"}

The published_at value in the above event is 2022-07-29T11:04:43.334002+01:00. Wouldn’t it better to always include milliseconds and timezone information?

1 Like