Skip to content

Commit

Permalink
Fixing problems with the date (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Jan 1, 2025
1 parent 677c053 commit fe2297e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private String getCurrentDate() {
int mYear = calendar.get(Calendar.YEAR);
int mMonth = calendar.get(Calendar.MONTH);
int mDay = calendar.get(Calendar.DAY_OF_MONTH);
return "" +(mMonth < 10 ? "0" + mMonth : mMonth) +"/" +(mDay < 10 ? "0" + mDay : mDay) +"/"+ mYear;
return "" +(mMonth < 10 ? "0" + mMonth : mMonth) +"-" +(mDay < 10 ? "0" + mDay : mDay) +"-"+ mYear;
}
/**
* This method gets the current time in the format HHmmA/P, where A/P indicates AM or PM for the video session name
Expand Down

0 comments on commit fe2297e

Please sign in to comment.