Re: lib/Gallery.php patch for date-uploaded change
Chuck Hagenbuch <[email protected]>
| Newsgroups | gmane.comp.horde.ansel |
|---|---|
| Message-ID | <[email protected]> |
Quoting "Heath S. Hendrickson" <[email protected]>: > Attached is a patch that sets the date-uploaded to be the RFC date > representation (date("r")) instead of the epoch (time()). > > This makes the field useful for searches. 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. -chuck -- "Regard my poor demoralized mule!" - Juan Valdez -- ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]