@@ -52,7 +52,7 @@ def get_tibia_url(section, subtopic=None, *args, anchor=None, **kwargs):
5252
5353 You can also build a dictionary and pass it like:
5454
55- >>> params = {'world': "Gladera", }
55+ >>> params = {'world': "Gladera"}
5656 >>> get_tibia_url("community", "worlds", **params)
5757 https://www.tibia.com/community/?subtopic=worlds&world=Gladera
5858 """
@@ -115,7 +115,7 @@ def parse_tibia_datetime(datetime_str) -> Optional[datetime.datetime]:
115115 Returns
116116 -----------
117117 :class:`datetime.datetime`, optional
118- The represented datetime, in UTC.
118+ The represented datetime, in UTC (timezone aware) .
119119 """
120120 try :
121121 datetime_str = datetime_str .replace ("," , "" ).replace (" " , " " )
@@ -158,7 +158,7 @@ def parse_tibia_date(date_str) -> Optional[datetime.date]:
158158 Returns
159159 -----------
160160 :class:`datetime.date`, optional
161- The represented date."""
161+ The represented date, in UTC (timezone aware) ."""
162162 try :
163163 t = datetime .datetime .strptime (date_str .strip (), "%b %d %Y" )
164164 return t .date ()
@@ -187,7 +187,7 @@ def parse_tibia_forum_datetime(datetime_str, utc_offset=1):
187187 Returns
188188 -------
189189 :class:`datetime`
190- The datetime represented by the text , in UTC.
190+ The represented datetime , in UTC (timezone aware) .
191191 """
192192 t = datetime .datetime .strptime (datetime_str .strip (), "%d.%m.%Y %H:%M:%S" )
193193 # Add/subtract hours to get the real time
@@ -210,7 +210,7 @@ def parse_tibia_full_date(date_str) -> Optional[datetime.date]:
210210 Returns
211211 -----------
212212 :class:`datetime.date`, optional
213- The represented date.
213+ The represented date, in UTC (timezone aware) .
214214 """
215215 try :
216216 t = datetime .datetime .strptime (date_str .strip (), "%B %d, %Y" )
@@ -280,7 +280,7 @@ def try_datetime(obj) -> Optional[datetime.datetime]:
280280 Returns
281281 -------
282282 :class:`datetime.datetime`, optional
283- The represented datetime, or :obj:`None` if conversion wasn't possible.
283+ The represented datetime, in UTC (timezone aware), or :obj:`None` if conversion wasn't possible.
284284 """
285285 if obj is None :
286286 return None
@@ -304,7 +304,7 @@ def try_date(obj) -> Optional[datetime.date]:
304304 Returns
305305 -------
306306 :class:`datetime.date`, optional
307- The represented date.
307+ The represented date, in UTC (timezone aware) .
308308 """
309309 if obj is None :
310310 return None
@@ -386,9 +386,8 @@ def parse_tibia_money(argument):
386386
387387 Returns
388388 -------
389- int:
389+ :class:` int` :
390390 The value represented by the string.
391-
392391 """
393392 try :
394393 return int (argument )
0 commit comments