The `%r` conversion of `strftime` produces wrong outputs, for example ` 6:28:15 AP` instead of `06:28:15 PM` (=`"%I:%M:%S %p`).