City-of-Bloomington / blossom

A skeleton for PHP web applications
GNU Affero General Public License v3.0
3 stars 0 forks source link

Add specific formats for DATE and TIME #10

Open inghamn opened 9 years ago

inghamn commented 9 years ago

So far, we've been getting by with only a DATE_FORMAT specified, which formats full datetimes.

We're getting into applications which have fields that are only a date, or only a time. We need to create DATE_FORMAT, TIME_FORMAT, and DATETIME_FORMAT. We'll need to update the ActiveRecord base class to use the new DATETIME_FORMAT.