We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 146856f commit 757264cCopy full SHA for 757264c
modules/images.py
@@ -343,7 +343,7 @@ def prompt_words(self):
343
def datetime(self, *args):
344
time_datetime = datetime.datetime.now()
345
346
- time_format = args[0] if len(args) > 0 else self.default_time_format
+ time_format = args[0] if len(args) > 0 and args[0] != "" else self.default_time_format
347
try:
348
time_zone = pytz.timezone(args[1]) if len(args) > 1 else None
349
except pytz.exceptions.UnknownTimeZoneError as _:
0 commit comments