Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FetchXML changing date fields in filters #1089

Open
jpvj opened this issue Nov 12, 2024 · 0 comments
Open

FetchXML changing date fields in filters #1089

jpvj opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels

Comments

@jpvj
Copy link

jpvj commented Nov 12, 2024

When using a filter (e.g. OnOrBefore = 2024-07-01) the value is changed to 01-07-2024 when the condition is click in the "treeview".

Steps to reproduce:

  1. Create some fetchxml and attributes.
  2. Create a filter
  3. Add condition for at date attribute using OnOrBefore = 2024-07-01 (using the new ISO format YYYY-MM-DD)
  4. Click on something else (e.g. an attribute)
  5. Click on the condition from 2) again and notice the value is now changed to 01-07-2024

This is quite critical, as the date is not parsed correctly when written on the form 01-07-2024.
It seems like it is parsed using MM-DD-YYYY.

I'm currently working on Windows Server 2025 (US version with DK regional settings).

@rappen rappen added the bug label Nov 14, 2024
@rappen rappen self-assigned this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants