Skip to content

Commit baf26af

Browse files
committed
Adding a seperation between date and time
1 parent 7af4c50 commit baf26af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/wpi/rbe/rbe2001/fieldsimulator/gui/GraphManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void clearGraph(int currentIndex) {
8989

9090
public void export(String type) throws Exception {
9191
File desktop = new File(System.getProperty("user.home")+"/Desktop/");
92-
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss");
92+
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd_HH-mm-ss");
9393
String timestamp =dateFormat.format(new Date());
9494
System.out.println(timestamp);
9595
for (int i = 0; i < numPid; i++) {

0 commit comments

Comments
 (0)