obspy.core.utcdatetime.UTCDateTime._strftime_replacement

UTCDateTime._strftime_replacement(strftime_string)[source]

Replace all simple, year-independent strftime commands

>>> t = UTCDateTime(1813, 10, 30, 12, 34, 56, 789012)
>>> print(t._strftime_replacement('"%Y-%m-%dT%H:%M:%S.%f %y"'))
"1813-10-30T12:34:56.789012 13"