]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/LocationController.php
Add skip on weather unavailable data when startup timeout makes us miss upstream...
[airbundle] / Controller / LocationController.php
index 6a77657629721c90817b23610e058907710b21fb..0cb09f35f8995e5a55a47c9d5d54672127d24659 100644 (file)
@@ -295,7 +295,7 @@ class LocationController extends DefaultController {
                        new \DateInterval('P1D'),
                        //End with next sunday and 4 weeks
                        new \DateTime(
-                               $this->isGranted('IS_AUTHENTICATED_REMEMBERED')?'Monday this week + 4 week':'Monday this week + 2 week'
+                               $this->isGranted('IS_AUTHENTICATED_REMEMBERED')?'Monday this week + 3 week':'Monday this week + 2 week'
                        )
                );
 
@@ -415,7 +415,7 @@ class LocationController extends DefaultController {
                        new \DateInterval('P1D'),
                        //End with next sunday and 4 weeks
                        new \DateTime(
-                               $this->isGranted('IS_AUTHENTICATED_REMEMBERED')?'Monday this week + 4 week':'Monday this week + 2 week'
+                               $this->isGranted('IS_AUTHENTICATED_REMEMBERED')?'Monday this week + 3 week':'Monday this week + 2 week'
                        )
                );