Re: lib/Gallery.php patch for date-uploaded change

"Heath S. Hendrickson" <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
Chuck Hagenbuch wrote:

> Quoting "Heath S. Hendrickson" <[email protected]>:
>
>> Just curious, but why would you want to change them?  The timecode is
>> more compact to store.  I only wanted to change the image date-uploaded
>> so that it was searchable by the user using standard values.
>
>
> I don't see why the argument is different for the different dates. You 
> could
> search a timestamp just fine, too, if you bothered to convert user input
> properly. And it's just asking for trouble to have dates stored by the 
> same
> application in different formats.
>
I don't agree.  In the case of fields that are user searchable it would 
be impossible to convert a substring search query into a matching 
timecode value.  You'd have to return all the images in Ansel and then 
convert the timestamps before doing the search.

But I do see your point about the different formats.  If it's consistent 
then you don't have to worry about what field you are looking at and 
what the format of it is.

>> P.S.  How do I add a help page that would contain instructions for
>> searching (format of the fields, and some examples)?
>
>
> Add the entry to help.xml, then add help links to it. See pretty much 
> anywhere
> for examples.

I found that, but is there a list of the valid markup allowed in that 
file anywhere?  I want to either put in a list or a table, but <ul> 
doesn't work.

h
-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.