Skip to content

Commit

Permalink
Making minor modification to Event class taskstring
Browse files Browse the repository at this point in the history
  • Loading branch information
RiyaMehta2211 committed Sep 13, 2023
1 parent ef1dbfe commit f7db2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/duke/task/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Event(String description, boolean isDone, LocalDateTime startDate, LocalD
*/
@Override
public String taskString() {
return "[E]" + super.taskString() + " (from: " +
return "[E]" + super.taskString() + "(from: " +
startDate.format(DateTimeFormatter.ofPattern("MMM d yyyy HHmm")) +
" to: " + endDate.format(DateTimeFormatter.ofPattern("MMM d yyyy HHmm")) + ")";
}
Expand Down

0 comments on commit f7db2bc

Please sign in to comment.