Two families of format strings
strftime codes start with a percent sign, such as %Y-%m-%d %H:%M. They come from the C library and are used by Python, PHP’s strftime, Ruby, Go’s strftime libraries and shell date.
Unicode (LDML) patterns use repeated letters, such as yyyy-MM-dd HH:mm. They are used by Java’s DateTimeFormatter, Swift and Objective-C, ICU, Moment-style libraries and date-fns. Note the traps: mm is minutes but MM is months, and YYYY is the week-based year, which differs from yyyy around New Year.
