Undocumented
Method | __init__ |
Undocumented |
Method | a |
'a.m.' or 'p.m.' |
Method | A |
'AM' or 'PM' |
Method | e |
Timezone name. |
Method | f |
No summary |
Method | g |
Hour, 12-hour format without leading zeros; i.e. '1' to '12' |
Method | G |
Hour, 24-hour format without leading zeros; i.e. '0' to '23' |
Method | h |
Hour, 12-hour format; i.e. '01' to '12' |
Method | H |
Hour, 24-hour format; i.e. '00' to '23' |
Method | i |
Minutes; i.e. '00' to '59' |
Method | O |
Difference to Greenwich time in hours; e.g. '+0200', '-0430'. |
Method | P |
No summary |
Method | s |
Seconds; i.e. '00' to '59' |
Method | T |
Time zone of this machine; e.g. 'EST' or 'MDT'. |
Method | u |
Microseconds; i.e. '000000' to '999999' |
Method | Z |
Time zone offset in seconds (i.e. '-43200' to '43200'). The offset for timezones west of UTC is always negative, and for those east of UTC is always positive. |
Instance Variable | data |
Undocumented |
Instance Variable | timezone |
Undocumented |
Property | _no_timezone_or_datetime_is_ambiguous_or_imaginary |
Undocumented |
Inherited from Formatter
:
Method | format |
Undocumented |
Difference to Greenwich time in hours; e.g. '+0200', '-0430'.
If timezone information is not available, return an empty string.
Time zone of this machine; e.g. 'EST' or 'MDT'.
If timezone information is not available, return an empty string.