[Nepomuk] Re: Review Request: Convert DateTime in EXIF date to time_t

Jos van den Oever jos at vandenoever.info
Sat Jun 18 12:03:29 CEST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101672/#review3990
-----------------------------------------------------------

Ship it!


Looks good if you can explain the removed 'continue.'




plugins/endplugins/jpegendanalyzer.cpp
<http://git.reviewboard.kde.org/r/101672/#comment3276>

    why are you removing this 'continue' statement?
    


- Jos


On June 18, 2011, 7:41 a.m., Sebastian Trueg wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101672/
> -----------------------------------------------------------
> 
> (Updated June 18, 2011, 7:41 a.m.)
> 
> 
> Review request for Nepomuk, Strigi, Jos van den Oever, and Vishesh Handa.
> 
> 
> Summary
> -------
> 
> The jpeg plugin uses nie:contentCreated for the DateTime field in EXIF data. nie:contentCreated has a range of xsd:dateTime but so far the plugin simply exports the value from EXIF which uses a non-standard format "YYYY:MM:DD hh:mm:ss". So far we had a hack in Nepomuk which would convert this string to a QDateTime. IMHO this should be done in the plugin instead. This patch does exactly that.
> 
> 
> Diffs
> -----
> 
>   plugins/endplugins/jpegendanalyzer.cpp 928fa24 
> 
> Diff: http://git.reviewboard.kde.org/r/101672/diff
> 
> 
> Testing
> -------
> 
> Tested via xmlindexer - the created int value matches the actual value.
> 
> 
> Thanks,
> 
> Sebastian
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/nepomuk/attachments/20110618/b512fef4/attachment.htm 


More information about the Nepomuk mailing list