Update original_filename (exclude Ext), add added_time
Update original_filename to exclude extension Also, add added_time (24H) as another placeholder
This commit is contained in:
parent
11a0399d20
commit
98db1fbfcb
@ -691,7 +691,8 @@ class Consumer(LoggingMixin):
|
|||||||
added_month_name_short=local_added.strftime("%b"),
|
added_month_name_short=local_added.strftime("%b"),
|
||||||
added_day=local_added.strftime("%d"),
|
added_day=local_added.strftime("%d"),
|
||||||
owner_username=owner_username,
|
owner_username=owner_username,
|
||||||
original_filename=self.filename,
|
original_filename=Path(self.filename).with_suffix("").name,
|
||||||
|
added_time=local_added.strftime("%H:%M"),
|
||||||
).strip()
|
).strip()
|
||||||
|
|
||||||
def _store(
|
def _store(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user