Message401710
I would like for this to be reconsidered. Yes, you can use str(), but converting back and forth becomes really clunky:
log_dir = 'logs/{date}'
log_file = Path(str(path).format(time.strftime('%Y-%m-%d')) / 'log.txt' |
|
Date |
User |
Action |
Args |
2021-09-13 16:39:06 | alexia | set | recipients:
+ alexia, brett.cannon, tebeka, pitrou, eric.smith, serhiy.storchaka, steve.dower, miss-islington |
2021-09-13 16:39:06 | alexia | set | messageid: <1631551146.91.0.758518526329.issue38222@roundup.psfhosted.org> |
2021-09-13 16:39:06 | alexia | link | issue38222 messages |
2021-09-13 16:39:06 | alexia | create | |
|