Select by date treats every file as newer than now

English support for the software AllDup
Post Reply
hmjenkin
Posts: 2
Joined: 04 Jan 2024, 23:58

Select by date treats every file as newer than now

Post by hmjenkin »

I'm trying to use the new "Select by Date" feature in version 4.5.58, but using "select older" never selects any files and "select newer" always selects every file. I've tested with "Select newer than 0 seconds" on both creation date and modified date and it always selects all files. No matter what I put in "select older" it never selects anything, so it seems the program thinks all my files were created/modified in the future. I can see the correct created/modified dates in the app for each file. I'm running the app on Windows 10 and my files are in a Linux-based Samba network share. I don't know if the app is mixing up dates because of the different OSes, or if it's swapping day and month since I'm using US date formats in Windows. I'm wondering if the "Select by date" option is working for anyone else
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Re: Select by date treats every file as newer than now

Post by Administrator »

We cant reproduce your problem here. "Select older than..." works fine. AllDup uses the created/modified dates displayed in the search result.
therube
Posts: 322
Joined: 07 Nov 2012, 00:28

Re: Select by date treats every file as newer than now

Post by therube »

Something weird does look to be going on.

start with all same dated files (say current date)
see if Date, Newer then, 2 days
does not in fact select all files
(when theoretically none should be selected)

likewise, oddities with Older then

now change dates of some of the files

in my case, some are current (1-5-2024), others dated 2028 & others 2000

with that, Date, Older then, 2 days, does correctly select the 2000's
but, Date, Newer then, 2 days, selects both 1-5-2024's & 2028's

1. date, newer, 2 days
2. date, older, 2 days
.
AllDup - newer then 2 days, older then 2 days.png
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Re: Select by date treats every file as newer than now

Post by Administrator »

i still cant reproduce your problems:

older than 2 days:
older than 2 days.png

newer than 2 days:
newer than 2 days.png
hmjenkin
Posts: 2
Joined: 04 Jan 2024, 23:58

Re: Select by date treats every file as newer than now

Post by hmjenkin »

I've done some more testing and I can't seem to replicate the issue anymore. I've tried a bunch of scenarios but I don't recall the exact files/folders I was working with before when it was acting up. If I can get it to happen again I'll try to provide more information about the exact use case
therube
Posts: 322
Joined: 07 Nov 2012, 00:28

Re: Select by date treats every file as newer than now

Post by therube »

Test this data selection (attached).

There are a set of files dated "today" (1-8-2024, as it is, here, now).
(If running on a different day, set those particular files to current date.)

Search by Content
Select by Date, Newer then, 2 days
(sort by Last Modified Date will help you to see what files have been selected)

Those currently dated files ("today") & also the 2028 year files will be selected.
(The former should not be.)

.
AllDup Date Selection bug.7z
(784 Bytes) Downloaded 662 times
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Re: Select by date treats every file as newer than now

Post by Administrator »

I was able to reproduce and fix the problem using your test files!
Post Reply