mirror of
https://github.com/instaloader/instaloader.git
synced 2024-09-17 19:12:23 +02:00
docs: Fix description of Story.last_seen_utc
This commit is contained in:
parent
3530cdc55c
commit
ace0e944ec
@ -1086,14 +1086,14 @@ class Story:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def last_seen_local(self) -> Optional[datetime]:
|
def last_seen_local(self) -> Optional[datetime]:
|
||||||
"""Timestamp when the story has last been watched or None (local time zone)."""
|
"""Timestamp of the most recent StoryItem that has been watched or None (local time zone)."""
|
||||||
if self._node['seen']:
|
if self._node['seen']:
|
||||||
return datetime.fromtimestamp(self._node['seen'])
|
return datetime.fromtimestamp(self._node['seen'])
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def last_seen_utc(self) -> Optional[datetime]:
|
def last_seen_utc(self) -> Optional[datetime]:
|
||||||
"""Timestamp when the story has last been watched or None (UTC)."""
|
"""Timestamp of the most recent StoryItem that has been watched or None (UTC)."""
|
||||||
if self._node['seen']:
|
if self._node['seen']:
|
||||||
return datetime.utcfromtimestamp(self._node['seen'])
|
return datetime.utcfromtimestamp(self._node['seen'])
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user