MCPcopy Index your code
hub / github.com/clips/pattern / copy

Method copy

pattern/db/__init__.py:119–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117 return strftime(format, (1900,) + self.timetuple()[1:]).replace("1900", str(self.year), 1)
118 return datetime.strftime(self, format)
119 def copy(self):
120 return date(self.timestamp)
121 def __str__(self):
122 return self.strftime(self.format)
123 def __repr__(self):

Callers

nothing calls this directly

Calls 1

dateFunction · 0.85

Tested by

no test coverage detected