Skip to content

Commit 944ff78

Browse files
authored
Update get.py - get_date()
1 parent 4a9c76d commit 944ff78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

braininventory/get.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_date(df):
3737
yr = dateList[4] #get year
3838
mnt= mntList[dateList[1]] #get month
3939
day = dateList[2] #get day
40-
print(f"{yr}-{day}-{mnt}") #format in year-day-month
40+
return f"{yr}-{day}-{mnt}" #format in year-day-month
4141

4242

4343
def today():

0 commit comments

Comments
 (0)