codeforamerica / ohana-api

The open source API directory of community social services.
http://ohana-api-demo.herokuapp.com/api
BSD 3-Clause "New" or "Revised" License
185 stars 344 forks source link

Parse service hours string #24

Closed anselmbradford closed 10 years ago

anselmbradford commented 11 years ago

Define method for passing in a datetime string (milliseconds since January 1, 1970, perhaps?) and determining whether an establishment is open or not.

spara commented 11 years ago

FYI, service_hours string takes the form of day, starttime-endtime; day starttime-endtime.

monfresh commented 10 years ago

Closing since this is not a current requirement. This was originally based on the hours formatting in the San Mateo County data, but the API is intended to work with the OpenReferral hours format, which hasn't been finalized yet.