MilesCranmer commited on
Commit
51c7840
1 Parent(s): 9416f10

Change date format to y/m/d

Browse files
Files changed (2) hide show
  1. pysr/sr.py +1 -1
  2. setup.py +1 -1
pysr/sr.py CHANGED
@@ -198,7 +198,7 @@ def pysr(X=None, y=None, weights=None,
198
  if maxdepth is None:
199
  maxdepth = maxsize
200
  if equation_file is None:
201
- date_time = datetime.now().strftime("%m_%d_%Y_%H:%M:%S")
202
  equation_file = 'hall_of_fame_' + date_time + '.csv'
203
 
204
  if isinstance(X, pd.DataFrame):
 
198
  if maxdepth is None:
199
  maxdepth = maxsize
200
  if equation_file is None:
201
+ date_time = datetime.now().strftime("%Y_%m_%d_%H:%M:%S")
202
  equation_file = 'hall_of_fame_' + date_time + '.csv'
203
 
204
  if isinstance(X, pd.DataFrame):
setup.py CHANGED
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
 
6
  setuptools.setup(
7
  name="pysr", # Replace with your own username
8
- version="0.3.32",
9
  author="Miles Cranmer",
10
  author_email="[email protected]",
11
  description="Simple and efficient symbolic regression",
 
5
 
6
  setuptools.setup(
7
  name="pysr", # Replace with your own username
8
+ version="0.3.33",
9
  author="Miles Cranmer",
10
  author_email="[email protected]",
11
  description="Simple and efficient symbolic regression",