Convert to fstring
https://github.com/pandas-dev/pandas/issues/29547

- [x] pandas/_libs/tslibs/frequencies.pyx
- [x] pandas/_libs/tslibs/period.pyx
- [x] pandas/_libs/tslibs/strptime.pyx

My changes are causing problems, closing pull request .