Bug 431237 - It does not show the year 9999 in the ZIP file
Summary: It does not show the year 9999 in the ZIP file
Status: REPORTED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 20.12.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-06 19:25 UTC by filefolderneon
Modified: 2021-01-08 01:38 UTC (History)
1 user (show)

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


Attachments
Ark does not display the year 9999 (208.43 KB, image/png)
2021-01-06 19:25 UTC, filefolderneon
Details
7-Zip on Windows displays the year 9999 (176.66 KB, image/png)
2021-01-06 19:27 UTC, filefolderneon
Details
Year 9999.zip (160 bytes, application/zip)
2021-01-07 15:32 UTC, filefolderneon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description filefolderneon 2021-01-06 19:25:34 UTC
Created attachment 134623 [details]
Ark does not display the year 9999

SUMMARY
Ark does not show the correct timestamp it always shows the year 2107 instead of the year 9999.

In the ZIP file is a .txt file that has the year 9999. The ZIP file was created on Windows 8.1 with 7-Zip (default setting).

STEPS TO REPRODUCE
Create a .txt file on Windows 8.1 or Windows 10 with the year 9999

2. use 7-Zip on Windows and zip it to an archive. Use only the default setting of 7-Zip.

3. transfer this zip file to KDE neon 5.20 and open only the zip file with Ark.

4. Ark shows the wrong year and when the zip file is unzipped Dolphin also shows the same wrong year. In this case the wrong year 2107 instead of the correct year 9999.



OBSERVED RESULT
Ark displays the wrong year. It shows for a file with the year 9999 only the wrong year 2107.

EXPECTED RESULT
I expect Ark to display the correct year and when the zip file is unzipped Dolphin must also display the correct year.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.20
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
7-Zip on Windows you can simply install these versions to create an archive (zip).


https://www.7-zip.org/a/7z1900-x64.exe

https://github.com/mcmilk/7-Zip-zstd/releases/tag/19.00-v1.4.8-R1
Comment 1 filefolderneon 2021-01-06 19:27:21 UTC
Created attachment 134624 [details]
7-Zip on Windows displays the year 9999

When I unzip the file with 7-Zip on Windows.

Then Windows File Explorer also shows the correct year, so year 9999.
Comment 2 2wxsy58236r3 2021-01-07 04:51:58 UTC
How do you create an archive with the year 9999? Can you please upload a test file?

By the way, why would you want to test the year 9999, instead of a more practical value like 2038?
Comment 3 filefolderneon 2021-01-07 15:30:18 UTC
(In reply to 2wxsy58236r3 from comment #2)
> How do you create an archive with the year 9999? Can you please upload a
> test file?
> 
> By the way, why would you want to test the year 9999, instead of a more
> practical value like 2038?

A few days ago I created this report because I wanted to test in general if KDE neon 5.20 with Dolphin (File Manager) can display this timestamp.
https://bugs.kde.org/show_bug.cgi?id=430819

Later I had the idea to test if KDE neon archive manager (Ark) can display a file with the year 9999 correctly. Unfortunately not.
Comment 4 filefolderneon 2021-01-07 15:32:58 UTC
Created attachment 134639 [details]
Year 9999.zip

Here the test file.
Comment 5 2wxsy58236r3 2021-01-08 01:38:00 UTC
Thanks. Please don't confirm your own issue [1] - you can set the status back to REPORTED after providing the information.

[1] https://community.kde.org/Get_Involved/Issue_Reporting#Don.27t_confirm_your_own_issue