This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-f53df684-b656-4f58-8c42-6826a9cdb78a XWIKI-22528 Open

Date format issue with Live Data when not using default format

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-279ef7ee-cae6-49ce-ba46-f57de8dd752f Simon Urli created this issue on 24/Sep/24 09:35
 
Summary: Date format issue with Live Data when not using default format
Issue Type: cid:jira-generated-image-avatar-f53df684-b656-4f58-8c42-6826a9cdb78a Bug
Affects Versions: 16.4.2
Assignee: Unassigned
Components: Live Data
Created: 24/Sep/24 09:35
Priority: cid:jira-generated-image-static-major-4f348dae-d183-4b41-9eef-13a4d6d797c0 Major
Reporter: Simon Urli
Description:

Reproduction steps:

  • Create an xclass containing a Date property aiming to contain dates without hours (format dd/MM/YYYY)
  • Create some entries
  • Create a livedata for those xobjects and specify that the property is of type Date in the LiveData, to get both the filters and the displayers

Expected result:

  • the date are properly output and we can use the filters

Obtained result:

  • the LD displays "Bad date format", even using some meta property in the LD to specify the format doesn't work to make it work. The filter doesn't have any effect.