MCPcopy
hub / github.com/Neo23x0/yarGen / get_timestamp_basic

Function get_timestamp_basic

yarGen.py:1793–1797  ·  view source on GitHub ↗
(date_obj=None)

Source from the content-addressed store, hash-verified

1791
1792
1793def get_timestamp_basic(date_obj=None):
1794 if not date_obj:
1795 date_obj = datetime.datetime.now()
1796 date_str = date_obj.strftime("%Y-%m-%d")
1797 return date_str
1798
1799
1800def is_ascii_char(b, padding_allowed=False):

Callers 1

generate_rulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected