[digiKam-users] Adjust Date and Time - Set Date/Time from file name

Maik Qualmann metzpinguin at gmail.com
Thu Mar 3 13:17:03 GMT 2022


Added for digiKam-8.0.0, if there is no problem we can still backport it for 
digiKam-7.7.0. 

https://invent.kde.org/graphics/digikam/-/commit/
2d4505017053d155f1082b022f6819af38fc1e96[1]

Maik

Am Donnerstag, 3. März 2022, 09:14:01 CET schrieb Gilles Caulier:
> Hi Maik,
> 
> The 'T' separator is the standard used with ISO 8601 :
> 
> https://en.wikipedia.org/wiki/ISO_8601
> 
> I recommend supporting this format de facto...
> 
> Marco,
> 
> Please report this wish in digiKam bugzilla please.
> 
> https://bugs.kde.org/enter_bug.cgi?format=guided&product=digikam
> 
> In Plugin-Generic-TimeAdjust section
> 
> Thanks in advance
> 
> Gilles Caulier
> 
> Le jeu. 3 mars 2022 à 08:09, Maik Qualmann <metzpinguin at gmail.com> a écrit :
> > There really are many different date formats in filenames recognized by
> > digiKam. We got a lot of samples from users while creating the function. A
> > date format with a "T" part was not included. But we can also add this
> > format.
> > 
> > Maik
> > 
> > Am Mittwoch, 2. März 2022, 23:57:52 CET schrieb Marco Hoppstädter:
> > > Hi,
> > > 
> > > I want to set the timestamp of an image file from the file name. Like
> > > this one:
> > > 
> > > 20080509T161700_CAPLIOR7_R0010619.jpg
> > > 
> > > When using the "Adjust Dat and Time" function digikam wants to set the
> > > file creation time to
> > > 
> > > 09.05.2008 01:06:19
> > > 
> > > but I it should be
> > > 
> > > 
> > > 09.05.2008 16:17:00
> > > 
> > > So, it seems that digikam uses the last part of the file name instead of
> > > the time part after "T" in the beginning. This seems to be a bug. Or am
> > > I getting something wrong?
> > > 
> > > Thanks for any help,



--------
[1] https://invent.kde.org/graphics/digikam/-/commit/
2d4505017053d155f1082b022f6819af38fc1e96
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20220303/24fe68f4/attachment.htm>


More information about the Digikam-users mailing list