On 04/12/2012 12:22 PM, Marcel Stimberg wrote:
It would be cool to move everything to GDateTime and serialize that format as a
64-bit number of microseconds since the year 1 ...
This would have the slight disadvantage that you can't use sqlite date
and time functions (though you do not seem to use them, anyway).
sqlite does support the 64Bit integer UNIX time format, however. The
only disadvantage of that format is that it would not give you
microsecond precision which might indeed be useful for photos taken in
rapid succession (though I do not think any standard camera saves
sub-second timestamps...)
My d7000 (and I assume at least many other nikon cameras) saves:
SubSecCreateDate : 2012:03:30 17:02:39.60
SubSecDateTimeOriginal : 2012:03:30 17:02:39.60
SubSecModifyDate : 2012:03:30 17:02:39.60
I'm for never discarding data from exif or storing it at lower
"resolution" than it came in.
_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell