@vandr0iy recently made a commit that fixes the confusing use of "mm" in the custom format string, but didn't spot that both the DD and YYYY specifiers are confusing as well - DD is day-of-year and YYYY is week-based year. almost certainly you would want to use yyyy/MM/dd.
I've stripped the year part out of the second example completely - I can't see you'd ever be likely to want years/hours/minutes or use 3 'Y's
@vandr0iy recently made a commit that fixes the confusing use of "mm" in the custom format string, but didn't spot that both the DD and YYYY specifiers are confusing as well - DD is day-of-year and YYYY is week-based year. almost certainly you would want to use yyyy/MM/dd.
I've stripped the year part out of the second example completely - I can't see you'd ever be likely to want years/hours/minutes or use 3 'Y's