issue_comments: 672825107
This data as json
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-672825107 | https://api.github.com/repos/pydata/xarray/issues/4337 | 672825107 | MDEyOklzc3VlQ29tbWVudDY3MjgyNTEwNw== | 6628425 | 2020-08-12T11:52:13Z | 2020-08-12T11:52:13Z | MEMBER | Thanks @aidanheerdegen, at least part of this issue may be better discussed in the cftime repository. This seems like a cftime bug: ``` In [1]: import cftime In [2]: cftime.datetime(1, 1, 1).strftime("%Y-%m-%dT%H:%M:%S")
Out[2]: ' 1-01-01T00:00:00'
In [4]: datetime.datetime(1, 1, 1).strftime("%Y-%m-%dT%H:%M:%S")
Out[4]: '0001-01-01T00:00:00'
As for your suggested solution:
I'm open to this. It seems reasonable that we could expand the acceptable time formats to include the default string representation of cftime objects (the only difference is a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
677307460 |