Skip to content

Conversation

captn3m0
Copy link

This changes the API response to always use abbreviated (en) month names. Allows for slightly more stable API clients, which don't have to worry about parsing both kinds of dates.

I noticed this while working on endoflife-date/release-data#91, where I had to write
a fallback where the date format
changes.

Ideally, this should use something non-locale based like YYYY-MM-DD,
happy to file a separate PR for that if that sounds good. (At the expense of breaking the API?)

This changes the API response to always
use abbreviated (en) month names.

Allows for slightly more stable API clients,
which don't have to worry about parsing
both kinds of dates.
@derickr
Copy link
Member

derickr commented Apr 19, 2023

This is a generated file, so not wise to edit.

@captn3m0
Copy link
Author

captn3m0 commented Jul 1, 2023

Closing this, but it would be nice if the generation script could be fixed.

@captn3m0 captn3m0 closed this Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants