html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/4337#issuecomment-673840314,https://api.github.com/repos/pydata/xarray/issues/4337,673840314,MDEyOklzc3VlQ29tbWVudDY3Mzg0MDMxNA==,6063709,2020-08-14T01:56:49Z,2020-08-14T01:56:49Z,CONTRIBUTOR,"Turns zero-padding years is platform dependent. https://bugs.python.org/issue13305","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,677307460 https://github.com/pydata/xarray/issues/4337#issuecomment-673769082,https://api.github.com/repos/pydata/xarray/issues/4337,673769082,MDEyOklzc3VlQ29tbWVudDY3Mzc2OTA4Mg==,6063709,2020-08-14T00:08:22Z,2020-08-14T00:08:22Z,CONTRIBUTOR,"Thanks for the detailed response @spencerkclark Seems that we're using different versions of `python` as my `datetime` implementation doesn't produce a zero padded year. I guess that was a bug that has also been fixed: ```python In [1]: import datetime In [2]: datetime.datetime(1, 1, 1).strftime(""%Y-%m-%dT%H:%M:%S"") Out[2]: '1-01-01T00:00:00' ``` I agree that the `isoformat` is a good solution. I didn't know it was available in newer versions. I will upgrade my `cftime` version to `>=1.1.3` to access it. Thanks for being open to supporting the default output. My only goal is to remove barriers to productivity and remove sources of confusion as I want these tools to be used, and embraced, as widely as possible. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,677307460