Changed getDay from [1,5] to [0,4]
This commit is contained in:
parent
4dd9324777
commit
2812b81f72
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user