1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

update timestamp docs

This commit is contained in:
Kelly Brazil
2021-04-03 14:48:30 -07:00
parent 029f79da16
commit ac932c6e59
2 changed files with 4 additions and 0 deletions

View File

@ -77,9 +77,11 @@ timestamp(datetime_string)
Input a date-time text string of several formats and convert to a naive or timezone-aware epoch timestamp in UTC Input a date-time text string of several formats and convert to a naive or timezone-aware epoch timestamp in UTC
Parameters: Parameters:
datetime_string: (str) a string representation of a date-time in several supported formats datetime_string: (str) a string representation of a date-time in several supported formats
Attributes: Attributes:
string (str) the input datetime string string (str) the input datetime string
format (int) the format rule that was used to decode the datetime string format (int) the format rule that was used to decode the datetime string
naive (int) timestamp based on locally configured timezone. None if conversion fails naive (int) timestamp based on locally configured timezone. None if conversion fails

View File

@ -88,9 +88,11 @@ class timestamp:
Input a date-time text string of several formats and convert to a naive or timezone-aware epoch timestamp in UTC Input a date-time text string of several formats and convert to a naive or timezone-aware epoch timestamp in UTC
Parameters: Parameters:
datetime_string: (str) a string representation of a date-time in several supported formats datetime_string: (str) a string representation of a date-time in several supported formats
Attributes: Attributes:
string (str) the input datetime string string (str) the input datetime string
format (int) the format rule that was used to decode the datetime string format (int) the format rule that was used to decode the datetime string
naive (int) timestamp based on locally configured timezone. None if conversion fails naive (int) timestamp based on locally configured timezone. None if conversion fails