MCPcopy Index your code
hub / github.com/RustPython/RustPython / strftime

Method strftime

Lib/_pydatetime.py:1098–1104  ·  view source on GitHub ↗

Format using strftime(). Example: "%d/%m/%Y, %H:%M:%S"

(self, format)

Source from the content-addressed store, hash-verified

1096 self._day, self._year)
1097
1098 def strftime(self, format):
1099 """
1100 Format using strftime().
1101
1102 Example: "%d/%m/%Y, %H:%M:%S"
1103 """
1104 return _wrap_strftime(self, format, self.timetuple())
1105
1106 def __format__(self, fmt):
1107 if not isinstance(fmt, str):

Callers 12

__format__Method · 0.95
_mesgMethod · 0.45
Time2InternaldateFunction · 0.45
__calc_am_pmMethod · 0.45
__calc_alt_digitsMethod · 0.45
__calc_date_timeMethod · 0.45
__find_month_formatMethod · 0.45
__find_weekday_formatMethod · 0.45
_need_normalize_centuryFunction · 0.45
_wrap_strftimeFunction · 0.45
stdlib_datetime.pyFile · 0.45
stdlib_time.pyFile · 0.45

Calls 2

timetupleMethod · 0.95
_wrap_strftimeFunction · 0.85

Tested by

no test coverage detected