alakajam-team / alakajam

Website powering the Alakajam! game making community
https://alakajam.com/
Other
28 stars 13 forks source link

Expose 'started_at' field in event api #670

Closed bradur closed 3 months ago

bradur commented 3 months ago

When using the API, the "display_dates" field format is inconsistent so it is hard to parse to an actual date. This PR will expose the "started_at" field which is a Date so it is easy to parse.

mkalam-alami commented 3 months ago

Looks good to me!

(NB. Your change should be online by tomorrow evening)

mkalam-alami commented 3 months ago

It's up

bradur commented 3 months ago

Thanks, looking good!

https://alakajam.com/api/event/4

{
  "id": 4,
  "name": "1st-alakajam",
  "title": "1st Alakajam!",
  "started_at": "2017-07-10T00:00:00.000Z"
}