Support formats like "some-leading-text-before-formatting-characters%Y-%m-%d".
Merge branch 'fix/more-strftime-compliance' into private-master