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/4336#issuecomment-673783177,https://api.github.com/repos/pydata/xarray/issues/4336,673783177,MDEyOklzc3VlQ29tbWVudDY3Mzc4MzE3Nw==,6063709,2020-08-14T01:05:33Z,2020-08-14T01:05:33Z,CONTRIBUTOR,"Thanks for the link to the tests. Your `pytest`-fu is strong! You're right, I didn't spot those. I guess my philosophical point was that this throws an error: ```python import cftime import xarray date = cftime.datetime(10,1,1) xarray.cftime_range(date, periods=3, freq='Y') ``` but this doesn't: ```python import cftime import xarray date = cftime.datetime(10,1,1).isoformat() xarray.cftime_range(date, periods=3, freq='Y') ``` due to the latter being transformed to `cftime.DatetimeGregorian` as there is a default `calendar` attribute for `cftime_range`: https://github.com/pydata/xarray/blob/cafab46aac8f7a073a32ec5aa47e213a9810ed54/xarray/coding/cftime_offsets.py#L788 ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,677296128