mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 04:54:48 +08:00
16 lines
324 B
Python
16 lines
324 B
Python
from datetime import date
|
|
from typing import Any, Optional
|
|
|
|
TIME_STRINGS: Any
|
|
TIMESINCE_CHUNKS: Any
|
|
|
|
def timesince(
|
|
d: date,
|
|
now: Optional[date] = ...,
|
|
reversed: bool = ...,
|
|
time_strings: None = ...,
|
|
) -> str: ...
|
|
def timeuntil(
|
|
d: date, now: Optional[date] = ..., time_strings: None = ...
|
|
) -> str: ...
|