Changed getDay from [1,5] to [0,4]

This commit is contained in:
Marcin Woźniak 2020-08-19 16:38:25 +02:00
parent 4dd9324777
commit 2812b81f72

View File

@ -31,7 +31,7 @@ public class GroupController {
for (Groups g : groups) { for (Groups g : groups) {
Dictionary<String, Object> group = new Hashtable<>(); Dictionary<String, Object> group = new Hashtable<>();
group.put("id", g.getId()); group.put("id", g.getId());
group.put("day", g.getDay().label + 1); group.put("day", g.getDay().label);
group.put("time", g.getTimeString()); group.put("time", g.getTimeString());
group.put("lecturer", g.getLecturer().toString()); group.put("lecturer", g.getLecturer().toString());
group.put("room", g.getRoom()); group.put("room", g.getRoom());