eenblam / jtt

A JailTracker Tracker: monitoring the treatment of people incarcerated in US jails
4 stars 1 forks source link

Jail configs need timezone info and job logs should include UTC collection timestamp #12

Open eenblam opened 2 months ago

eenblam commented 2 months ago

Unfortunately, JailTracker does provide datetime strings for important dates, but they don't seem to be timezone aware. For example, the special field "Booking Date" is provided as text "8/3/2024 4:30:00 AM" in the response JSON.

Currently, JTT's queries are dumped to disk with a filename indicating the name of the facility and the date string (in UTC+0000). It would be helpful to know the more exact times the script began and ended, and have them saved at the top-level of the job's output JSON. This is more urgent, since we can't determine this retroactively.

Tasks:

eenblam commented 2 months ago

Job start/end times are now logged. Still need to handle timezone info for each jail.