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]>: > How else would you search for all images that have a date-uploaded of > 5/15/2004? I'm not going to argue that there is a use for BETWEEN and > BEFORE/AFTER searches when it comes to date, but how do you return all > images on a single date? Force the user to enter the same date twice > and do a BETWEEN search? And even then, you'll still have to return all > the images and convert the timecode in PHP to be able to a single date > search. I'm assuming that you would automatically make the time > 00:00:00 for any date entered, right? So to get a single date you'd > have to do a BETWEEN search with the date you want first and the day > after as the second date. Right - which doesn't mean returning all of the images. I think you answered all your questions here. > And to make it even more complex, the EXIF date fields are stored in > another format altogether (2004:03:26 20:16:08). Well, we should probably convert relevant bits of Exif data on the way in. > Since we can't change the way that the EXIF data is stored in the > images But we can, since we store them as attributes, not in the images themselves. -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]