Anyone have thoughts on my post from yesterday? I ...
# advancedpdf
r
Anyone have thoughts on my post from yesterday? I have confirmed both in the UI and in field explorer that the field's date is 2024, but it's printing as 2025.
watching following 2
a
Did you tried removing the formatting? string["MMM dd YYYY"]?
c
absolute worst case you can create a custom field w/ the format you want and put the value in there and grab it. Have you tried ${record.enddate?date} or ${record.enddate?date?string["MMM dd YYYY"}
e
Is the year +1 happening on all records of that type? or just that specific date?
r
Only reported for one invoice so far
Removing the string formatting fixes it, but that's not acceptable. Adding date does not.
a
@reptar Try with: ${record.enddate?string["MMM dd *yyyy*"]} Notice the lowercase yyyy.
r
Resolved? lol
That made it 2024
a
YYYY in upper case means weak year which only differs from year(yyyy) at the last few weeks…
a