@extends('layouts.map') @section('content') @include('partials/logged-in')
@if($database->micropub_endpoint) @endif
timezone); } catch(Exception $e) { $tz = new DateTimeZone('UTC'); } $start = new DateTime($database->created_at); $end = new DateTime(); $start->setTimeZone($tz); $end->setTimeZone($tz); $i = clone $start; while((int)$i->format('Y') <= (int)$end->format('Y') && (int)$i->format('M') <= (int)$end->format('M')) { ?> @include('partials/calendar', [ 'year' => $i->format('Y'), 'month' => $i->format('m'), 'days' => $days, 'day_name_length' => 3, 'month_href' => null, 'first_day' => 1, 'pn' => [] ]) add(new DateInterval('P1M')); } ?>
@endsection