Skip to content

Commit

Permalink
change file name format to use hrs-mins-secs
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshagr committed Feb 18, 2016
1 parent 341d4bc commit e345784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/testreport.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def make_directory(directory):
def getDateTime():
timetuple = time.localtime()
date = "%s-%s-%s" %(timetuple[2], timetuple[1], timetuple[0])
currenttime = "%shrs%smins%ssecs" %(timetuple[3], timetuple[4], timetuple[5])
currenttime = "%shrs-%smins-%ssecs" %(timetuple[3], timetuple[4], timetuple[5])
return date, currenttime

def createTestReport(projectName, gitLabUrl, allTestCasesLink, targetDir):
Expand Down

0 comments on commit e345784

Please sign in to comment.