I hereby claim:
- I am mathollingsworth on github.
- I am francisbond (https://keybase.io/francisbond) on keybase.
- I have a public key ASBCVdKru6ie6Rp8mpInfYD1kD7yO7pw8fpmQQ50T5Uxfwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| public function getTheNameOfTheBestBreakingBadCharacter() { | |
| $allTheCharacters = $dataLayer->getAllCharacters(); | |
| $currentCharacter = null; | |
| foreach ($allTheCharacters as $theCharacter) { | |
| if($currentCharacter == null || $theCharacter>isBetter($currentCharacter)){ | |
| $currentCharacter = $theCharacter | |
| } | |
| } |
| {% set arrayPosition = now|date('w') %} | |
| {% set today = openingHours.storeHours[arrayPosition] %} | |
| {% set tomorrow = openingHours.storeHours[arrayPosition > 6 ? 0 : arrayPosition + 1] %} | |
| <p class="u-mb0 text--center"> | |
| {% if today.open.getTimestamp() < now.getTimestamp() and today.close.getTimestamp() > now.getTimestamp() %} | |
| <a href="{{ siteUrl }}menu" class="c--brand-secondary">Open today til late</a> | |
| {% else %} |