Bug 142928 - FILEOPEN XLSX Standard filters date condition appears converted to plain number
Summary: FILEOPEN XLSX Standard filters date condition appears converted to plain number
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xlsx
Depends on:
Blocks: XLSX-Autofilter
  Show dependency treegraph
 
Reported: 2021-06-18 09:54 UTC by NISZ LibreOffice Team
Modified: 2025-10-05 03:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Excel with condition “Between” (10.43 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2021-06-18 09:54 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Excel and Calc (117.63 KB, image/png)
2021-06-18 10:01 UTC, NISZ LibreOffice Team
Details
Another example file from Excel with condition “Later than” (10.40 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2021-06-18 10:02 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document with condition “Later than” side by side in Excel and Calc (108.27 KB, image/png)
2021-06-18 10:02 UTC, NISZ LibreOffice Team
Details
Another example file from Excel with condition “Not equals” (10.40 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2021-06-18 10:02 UTC, NISZ LibreOffice Team
Details
Another example file from Excel with condition “Not equals” (10.38 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2021-06-18 10:03 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document with condition “Not equals” side by side in Excel and Calc (137.76 KB, image/png)
2021-06-18 10:03 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-06-18 09:54:10 UTC
Created attachment 172996 [details]
Example file from Excel with condition “Between”

Attached example file was made in Excel and on the Date column there is a standard filter set of type “Between two values”, with a “not earlier than” and a “not later than” condition.
When opened in Calc the two values appear as plain numbers instead of dates.
This also happens with other standard filters like Earlier than, Later than and Not equals, but not with type Equals.

Steps to reproduce:
    1. Open attached file
    2. Open the autofilter, select Standard Filter

Actual results:
The Standard Filter dialog shows the values of the conditions as 40179 and 44136 instead of 2010.01.01 and 2020.11.01

Expected results:
The conditions should be formatted as dates.

LibreOffice details:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c703b2d22c3f45825d9c9d790c3b5a4b6f97e776
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Also happens with en-US locale/UI. The example file was made in a Hungarian Excel.

Also in 7.0, 6.0, 5.0, 4.0, 3.5
Comment 1 NISZ LibreOffice Team 2021-06-18 10:01:39 UTC
Created attachment 172997 [details]
Screenshot of the original document side by side in Excel and Calc
Comment 2 NISZ LibreOffice Team 2021-06-18 10:02:03 UTC
Created attachment 172998 [details]
Another example file from Excel with condition “Later than”
Comment 3 NISZ LibreOffice Team 2021-06-18 10:02:24 UTC
Created attachment 172999 [details]
Screenshot of the original document with condition “Later than” side by side in Excel and Calc
Comment 4 NISZ LibreOffice Team 2021-06-18 10:02:46 UTC Comment hidden (obsolete)
Comment 5 NISZ LibreOffice Team 2021-06-18 10:03:24 UTC
Created attachment 173001 [details]
Another example file from Excel with condition “Not equals”
Comment 6 NISZ LibreOffice Team 2021-06-18 10:03:45 UTC
Created attachment 173002 [details]
Screenshot of the original document with condition “Not equals” side by side in Excel and Calc
Comment 7 m_a_riosv 2021-06-19 00:01:08 UTC
Repro
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a78510ab673dd0d827efeb00873d5d9137813be7
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES Calc: threaded

Looks the issue is with the imported value, selecting from the field show dates.
Comment 8 QA Administrators 2023-06-20 03:13:18 UTC Comment hidden (obsolete)
Comment 9 Stéphane Guillou (stragu) 2023-10-05 06:25:59 UTC
Reproduced in recent trunk build with attachment 172996 [details].

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f95c3994f0b6a82a3bc2ddfb68822b74479ae185
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 10 QA Administrators 2025-10-05 03:12:19 UTC
Dear NISZ LibreOffice Team,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug