openpodcast / api

OpenPodcast API server
https://openpodcast.dev
8 stars 2 forks source link

show only date without time in json API #69

Closed woolfg closed 1 year ago

woolfg commented 1 year ago

example of current output

      {
         "age_group" : "unknown",
         "date" : "2023-02-26T00:00:00.000Z",
         "gender" : "not-specified",
         "listeners" : 30
      }

show just "2023-02-26"

woolfg commented 1 year ago

in mysql there is just the date, so it is transformed somewhere in the JS lib I guess to have a native date object.