hmm, i'll have to think about it from a lua point of view... i'll probably
export it as second since 1970 so all normal lua numeric operations work...
but if I can convert the date into any format, i'm good with that.


On Thu, Oct 17, 2013 at 11:26 AM, David Vincent-Jones
<[email protected]>wrote:

> That would be great ... my folders all have date numerics at their fromt
> end and that is where I would most like to use it.
>
> David
>
>
> On 13-10-17 11:08 AM, johannes hanika wrote:
>
>> if i read the docs correctly, it would stay text but sqlite would know how
>> to deal with it. actually this query works:
>>
>> select datetime_taken from images where datetime(datetime_taken) >
>> datetime("2013-10-10 00:00:00");
>>
>> so that should probably also work in the collection module input box, but
>> maybe that^ means we can have a relatively simple code change to support >
>> operators on dates.
>>
>> j.
>>
>>
>> On Thu, Oct 17, 2013 at 9:46 PM, jeremy rosen <
>> [email protected]
>>
>>> wrote:
>>> I'd love that for lua too... currently date in lua is accessed as text,
>>> which is less than handy for comparison and stuff like that...
>>>
>>>
>>> On Thu, Oct 17, 2013 at 10:40 AM, johannes hanika <[email protected]
>>> >wrote:
>>>
>>>  yeah, unfortunately we don't support that. but i agree it would be a
>>>> great feature.
>>>>
>>>> i should have made the datetime field a date type instead of char[40] (
>>>> https://www.sqlite.org/lang_**datefunc.html<https://www.sqlite.org/lang_datefunc.html>),
>>>> then you could now use < and
>>>>
>>>>> .. :/
>>>>>
>>>> potentially easy to update, need to check.
>>>>
>>>> -jo
>>>>
>>>>
>>>>
>>>> On Thu, Oct 17, 2013 at 9:27 PM, David Vincent-Jones <
>>>> [email protected]> wrote:
>>>>
>>>>  A question that I asked earlier and that was not answered:
>>>>>
>>>>> Is there a way to use '>' or '<' in a collect-images sort of time,
>>>>> file-names, folders etc ?
>>>>>
>>>>> David
>>>>>
>>>>>
>>>>> ------------------------------**------------------------------**
>>>>> ------------------
>>>>> October Webinars: Code for Performance
>>>>> Free Intel webinars can help you accelerate application performance.
>>>>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
>>>>> most
>>>>> from
>>>>> the latest Intel processors and coprocessors. See abstracts and
>>>>> register
>>>>> http://pubads.g.doubleclick.**net/gampad/clk?id=60135031&iu=**
>>>>> /4140/ostg.clktrk<http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk>
>>>>> ______________________________**_________________
>>>>> darktable-devel mailing list
>>>>> darktable-devel@lists.**sourceforge.net<[email protected]>
>>>>> https://lists.sourceforge.net/**lists/listinfo/darktable-devel<https://lists.sourceforge.net/lists/listinfo/darktable-devel>
>>>>>
>>>>>
>>>>
>>>> ------------------------------**------------------------------**
>>>> ------------------
>>>> October Webinars: Code for Performance
>>>> Free Intel webinars can help you accelerate application performance.
>>>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>>>> from
>>>> the latest Intel processors and coprocessors. See abstracts and
>>>> register >
>>>>
>>>> http://pubads.g.doubleclick.**net/gampad/clk?id=60135031&iu=**
>>>> /4140/ostg.clktrk<http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk>
>>>> ______________________________**_________________
>>>> darktable-devel mailing list
>>>> darktable-devel@lists.**sourceforge.net<[email protected]>
>>>> https://lists.sourceforge.net/**lists/listinfo/darktable-devel<https://lists.sourceforge.net/lists/listinfo/darktable-devel>
>>>>
>>>>
>>>>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to