The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ConfiForm Date Field saving wrong data

Maximilian Neufeld
Contributor
October 9, 2023

Hey there,

 

so I have the following problem:
In my Form I have a field "field1" with the type "Date". As formatting pattern I set YYYY.MM

Whenever someone fills the form it saves a "wrong" date.... So e.g: 

I pick 2025.08 then the saves entry says 2025.12

If I pick 2025.03 the record says 2025.01. 

It seems like somehow the date gets rounded to either month 12 of the year or month 1....

Did anyone experience that before?


Greetings Max

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
October 9, 2023

Hi @Maximilian Neufeld 

Have a look what YYYY pattern means in a date/time field https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html

It is far from what you want/expect I afraid...

Alex

Maximilian Neufeld
Contributor
October 12, 2023

Thanks Alex - I replaced it with yyyy and it works. 

TAGS
AUG Leaders

Atlassian Community Events