Re: lib/Gallery.php patch for date-uploaded change
Ben Chavet <[email protected]>
| Newsgroups | gmane.comp.horde.ansel |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected]>:
> 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
--
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]