Datetime I18N

I’m writing an integration, one of my extra state attributes is a datetime object.

When I print the datetime in Python, I’m getting 2000-01-04 13:02:39, but when displaying it in the frontend I get the North American datetime format:


Is this my own frontend configuration, or an issue with my integration?