[ansel] lib/Gallery.php patch for date-uploaded change

Ben Chavet ben at chavet.net
Tue May 18 22:36:37 PDT 2004


While we're at it, do you think we should change the gallery timestamps
('date-created' and 'last-modified'), too?

--Ben

Quoting "Heath S. Hendrickson" <heath at outerspaceconsultants.com>:

> Chuck Hagenbuch wrote:
>
>> date('r') isn't really optimal for searches, either. I'd much rather 
>> see it be
>> stored as YYYY-MM-DD HH:MM:SS. That way it's both searchable, sortable, and
>> easily turned into a timestamp/formatted other ways.
>>
> ok.  attached is a new patch that uses date("Y-m-d h:i:s O").
>
> Also attached is a new script that will convert from timecode based
> values to the new format.
>
> h




More information about the ansel mailing list