diff --git a/slpkg/logging_config.py b/slpkg/logging_config.py index 38abf70d..2db670a6 100644 --- a/slpkg/logging_config.py +++ b/slpkg/logging_config.py @@ -14,6 +14,6 @@ class LoggingConfig: encoding: str = 'utf-8' log_path: Path = Path('/tmp/slpkg/logs') log_file: Path = Path(log_path, 'slpkg.log') - d: str = '%s/%s/%s' % (dt.day, dt.month, dt.year) - t: str = '%s:%s:%s' % (dt.hour, dt.minute, dt.second) + d: str = f'{dt.day}/{dt.month}/{dt.year}' + t: str = f'{dt.hour}:{dt.minute}:{dt.second}' date: str = f'{d} {t}'