Izveidot aplikāciju, kura ik pēc noteikta intervāla (60 sekundes) veic ierakstu datubāzē izmantojot Laravel freimworka iebūvēto funkcionalitāti.
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Authors:
* - Kristian Sakarisson
* - François B
* - JD Isaacks
* - Sverri Mohr Olsen
*/
return [
'year' => 'eitt ár|:count ár',
'y' => ':count ár|:count ár',
'month' => 'ein mánaði|:count mánaðir',
'm' => ':count mánaður|:count mánaðir',
'week' => ':count vika|:count vikur',
'w' => ':count vika|:count vikur',
'day' => 'ein dagur|:count dagar',
'd' => ':count dag|:count dagar',
'hour' => 'ein tími|:count tímar',
'h' => ':count tími|:count tímar',
'minute' => 'ein minutt|:count minuttir',
'min' => ':count minutt|:count minuttir',
'second' => 'fá sekund|:count sekundir',
's' => ':count sekund|:count sekundir',
'ago' => ':time síðani',
'from_now' => 'um :time',
'after' => ':time aftaná',
'before' => ':time áðrenn',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD/MM/YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'dddd D. MMMM, YYYY HH:mm',
],
'calendar' => [
'sameDay' => '[Í dag kl.] LT',
'nextDay' => '[Í morgin kl.] LT',
'nextWeek' => 'dddd [kl.] LT',
'lastDay' => '[Í gjár kl.] LT',
'lastWeek' => '[síðstu] dddd [kl] LT',
'sameElse' => 'L',
],
'ordinal' => ':number.',
'months' => ['januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember'],
'months_short' => ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'],
'weekdays' => ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', 'leygardagur'],
'weekdays_short' => ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'],
'weekdays_min' => ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 4,
'list' => [', ', ' og '],
];