)]}' { "commit": "98d0aded4f819eddf6e5b3c805e5194140f2a5bb", "tree": "abea7fe238f41ccb89af6e7c10decb317835bfb4", "parents": [ "a3494a842b1ed37fe379fa818dc4a0ea0bce2ee2" ], "author": { "name": "Adrià Vilanova Martínez", "email": "me@avm99963.com", "time": "Mon Oct 18 01:10:33 2021 +0200" }, "committer": { "name": "Adrià Vilanova Martínez", "email": "me@avm99963.com", "time": "Tue Oct 19 18:02:25 2021 +0200" }, "message": "Fix schedules around midnight\n\nAround midnight the app didn\u0027t work well because it didn\u0027t retrieve the\ncorrect schedules. Also, the way the frontend was architectured, trains\nwhich were scheduled after midnight appeared for 1 second and then\ndisappeared.\n\nThis CL fixes this by changing the following:\n\n- The API now returns arrival and departure times by specifying a UNIX\n timestamp instead of the seconds since midnight. This helps simplify\n the code in the frontend.\n- Adapting the frontend to consume the new timestamps, to fix the\n disappearing schedule bug.\n- Fixing the SQL query to get the stop times, since it didn\u0027t retrieve\n the correct rows.\n\nFixed: misc:17\n\nChange-Id: I98f1fe20d44163e716d4f57a2018635be74526d0\n", "tree_diff": [ { "type": "modify", "old_id": "55daf734e710412db781fb75f82d35bfb3b17de2", "old_mode": 33188, "old_path": "inc/api.php", "new_id": "ba3ec2f6475d9f4b3f8d1e81352e4fc8c5012619", "new_mode": 33188, "new_path": "inc/api.php" }, { "type": "modify", "old_id": "ae33d501817cf0d9ac0f8f6b3efafb0987114d6b", "old_mode": 33188, "old_path": "inc/gtfs.php", "new_id": "c774ad36001b847b87184fcd2a3e626930eeecfd", "new_mode": 33188, "new_path": "inc/gtfs.php" }, { "type": "modify", "old_id": "1e0e7f42d59697bf52f127fcb1d9ca998ec7a2a0", "old_mode": 33188, "old_path": "js/views/l9n.js", "new_id": "ae61c752cbc1c4a67dc0c29b5b14be8b89855941", "new_mode": 33188, "new_path": "js/views/l9n.js" } ] }