Liturgical-Calendar / LiturgicalCalendarAPI

A PHP script / API endpoint that will generate the Roman Catholic liturgical calendar for any given year, calculating the mobile festivities and the precedence of solemnities, feasts, memorials...
Apache License 2.0
39 stars 11 forks source link

add key to output with date and time of response #188

Closed JohnRDOrazio closed 6 months ago

JohnRDOrazio commented 6 months ago

To better identify how recent or how old a response is, we should add a key with the Date / Time of the first response. That way, when pulling a fresh vs a cached copy, we can at least be certain that we are looking at what we are expecting to look at.

What should we call this key? timestamp sounds good to me, and put it within the metadata section.

JohnRDOrazio commented 6 months ago

fixed in commit https://github.com/Liturgical-Calendar/LiturgicalCalendarAPI/commit/efbaefad5f13377aa142f5cf304282432f8dff18