Precommit
This commit is contained in:
parent
1d343b7d8c
commit
a6144249e4
@ -79,7 +79,9 @@ class Moment(NoSSRComponent):
|
||||
duration: Var[str]
|
||||
|
||||
# The date to display (also work if passed as children).
|
||||
date: Var[Union[str, datetime.datetime, datetime.date, datetime.time, datetime.timedelta]]
|
||||
date: Var[
|
||||
Union[str, datetime.datetime, datetime.date, datetime.time, datetime.timedelta]
|
||||
]
|
||||
|
||||
# Shows the duration (elapsed time) between now and the provided datetime.
|
||||
duration_from_now: Var[bool]
|
||||
|
Loading…
Reference in New Issue
Block a user