internetarchive / internetarchive/openlibrary

Edition history JSON payload dates not ISO 8601 formatted

Open
#7,520 1 comment 0 reactions 0 assignees View on GitHub
Lead: @cdrini Priority: 3 Theme: Public APIs Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

The `created` field in the JSON payload for edition history (ie `?m=history`) isn't correctly formatted.

### Evidence / Screenshot (if possible)
![Screen Shot 2023-02-10 at 2 59 25 PM](https://user-images.githubusercontent.com/82178/218186371-8cf1a20f-8701-4af1-843a-f510fd46a826.png)

### Relevant url?
https://openlibrary.org/books/OL43522513M.json?m=history

### Steps to Reproduce

1. Go to ...
2. Do ...

* Actual: `created: "2023-02-10 19:36:23.941465",`
* Expected: `created: "2023-02-10T19:36:23.941465",`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.