Bug 497257 - unix time as image file name not being detected for 'adjust time and date' tool
Summary: unix time as image file name not being detected for 'adjust time and date' tool
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-TimeAdjust (show other bugs)
Version: 8.5.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-10 01:53 UTC by mlh.kiwi
Modified: 2025-04-11 23:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.7.0
Sentry Crash Report:


Attachments
attachment-1824572-0.html (840 bytes, text/html)
2024-12-10 03:26 UTC, mlh.kiwi
Details
attachment-1856472-0.html (1.70 KB, text/html)
2024-12-10 07:14 UTC, mlh.kiwi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mlh.kiwi 2024-12-10 01:53:04 UTC
I have a number of files that are name in the unix time format from an older camera, however the date and time tool to change the metadata date (currently not existing) does not work and says "not valid" perhaps a tick box or selector (for the user to tick / select) should be added if unix time is what is what named the file, in wish case digikam will be able to convert this to normal time format and apply as the date in the metadata.
Comment 1 caulier.gilles 2024-12-10 03:20:26 UTC
Can you list the file names with the Unix time from your computer ?
Comment 2 mlh.kiwi 2024-12-10 03:26:24 UTC
Created attachment 176477 [details]
attachment-1824572-0.html

For example 1435225825065

On Tue, 10 Dec 2024, 4:20 pm , <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=497257
>
> --- Comment #1 from caulier.gilles@gmail.com ---
> Can you list the file names with the Unix time from your computer ?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
Comment 3 Maik Qualmann 2024-12-10 06:52:24 UTC
Sorry, this is an absolute special case that makes no sense to implement. If you assume any number as Unix Time, the error rate would be far too high.
You could restrict it to numbers of a certain length, but I probably wouldn't implement it anyway.

Maik
Comment 4 mlh.kiwi 2024-12-10 07:14:36 UTC
Created attachment 176483 [details]
attachment-1856472-0.html

Yes it would up the error rate loads that's why I said if it were to be
implemented there should be a tick box to detect / let digikam know its
Unix, so it does not otherwise detect Unix.

On Tue, 10 Dec 2024, 7:52 pm Maik Qualmann, <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=497257
>
> Maik Qualmann <metzpinguin@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |metzpinguin@gmail.com
>
> --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> ---
> Sorry, this is an absolute special case that makes no sense to implement.
> If
> you assume any number as Unix Time, the error rate would be far too high.
> You could restrict it to numbers of a certain length, but I probably
> wouldn't
> implement it anyway.
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
> You are on the CC list for the bug.
Comment 5 caulier.gilles 2025-04-11 23:56:16 UTC
Following Maik comment 3