fix duty hours

This commit is contained in:
Mieszko Wrzeszczyński 2018-12-17 10:41:09 +01:00
parent 4bdebcf52d
commit ce14928bc6
1 changed files with 2 additions and 3 deletions

View File

@ -108,12 +108,11 @@ public class DutyHourViewModel {
return Objects.hash(day, start, end);
}
public String getSummary() {
return this.getDay() + " " + this.getStart() + " " + this.getEnd();
return this.getDay() + ": " + this.getStart() + " - " + this.getEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();