MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _format_timestamp

Method _format_timestamp

utils.py:968–970  ·  view source on GitHub ↗

Format timestamp to readable string

(timestamp)

Source from the content-addressed store, hash-verified

966
967 @staticmethod
968 def _format_timestamp(timestamp):
969 """Format timestamp to readable string"""
970 return datetime.fromtimestamp(timestamp).strftime('%Y-%m-%d %H:%M:%S')
971
972
973

Callers 1

get_loot_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected