-
- Downloads
core(pulse): fix year format (year-of-era vs week-based-year) (#11692)
Related Documentation of date format: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html In pulse notification I found out (works since yesterday until tonight) that a timetamp formatted by a Pulse would output "Dec 31, 2020" for today's date (instead of "Dec 31, 2019"). This is because of the confusion between "YYYY" (the week based year, this week is the 1st week of 2020) and "yyyy" formatting (the era based year - thus the commonly expected year for a single day format). Co-authored-by:Paul B. <paul+gh@bonaud.fr>
Please register or sign in to comment