athalhammer/LOM-mobile — Issue #3: Calls on weekends and mondays
Author: athalhammer
Created: 2011-12-05 13:25:59+00:00
State: open

In mensa_menus.php the routine calls:

$chosenMensa = $_GET["chosenMensa"];

$monday = date('Y-m-d', strtotime('last monday')); //last moday

This is not enough as on weekends we get the "old" plan and, even worse, on monday you get the plan of the last week but not the current one.