Commit bbf5c7e5a03bb6c162d8b4c3339be3fcec30a6b6
1 parent
43733460
added method for creating timestamp in iso format
Showing
1 changed file
with
2 additions
and
1 deletions
@@ -21,7 +21,8 @@ from .initial_data import ( | @@ -21,7 +21,8 @@ from .initial_data import ( | ||
21 | ) | 21 | ) |
22 | 22 | ||
23 | TIMEZONE = timezone('Europe/Kiev') | 23 | TIMEZONE = timezone('Europe/Kiev') |
24 | - | 24 | +def get_date(): |
25 | + return datetime.now().isoformat() | ||
25 | 26 | ||
26 | def change_state(arguments): | 27 | def change_state(arguments): |
27 | try: | 28 | try: |
Please
register
or
login
to post a comment