diff options
| author | root <root@turin.home> | 2022-01-30 15:19:11 +0000 |
|---|---|---|
| committer | root <root@turin.home> | 2022-01-30 15:19:11 +0000 |
| commit | 7e0ee4b3b80773775bcd07ad622bcc34dce308d9 (patch) | |
| tree | 58a808bbc7a1a5f82c9777e8b7b2681d4b3d73d3 | |
| parent | 214cf4da27be2c4845df7396aa22efa184b1adc7 (diff) | |
Errors in class structure
| -rw-r--r-- | date.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,11 +3,11 @@ from datetime import datetime class date: - def __init__(): + def __init__(self): pass - def day(): + def day(self): int(datetime.now().strftime("%Y%m%d")) - def time(): + def time(self): int(datetime.now().strftime("%H%M%S")) |
