| 
<?php
 /**
 * This file is part of the Carbon package.
 *
 * (c) Brian Nesbitt <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
 
 /**
 * Authors:
 * - Josh Soref
 * - François B
 * - Tim Fish
 * - shaishavgandhi05
 * - Serhan Apayd?n
 * - JD Isaacks
 * - tomhorvat
 * - Josh Soref
 * - François B
 * - shaishavgandhi05
 * - Serhan Apayd?n
 * - JD Isaacks
 * - tomhorvat
 * - Stjepan
 * - Vanja Retkovac (vr00)
 */
 return [
 'year' => ':count godinu|:count godine|:count godina',
 'y' => ':count god.|:count god.|:count god.',
 'month' => ':count mjesec|:count mjeseca|:count mjeseci',
 'm' => ':count mj.|:count mj.|:count mj.',
 'week' => ':count tjedan|:count tjedna|:count tjedana',
 'w' => ':count tj.|:count tj.|:count tj.',
 'day' => ':count dan|:count dana|:count dana',
 'd' => ':count d.|:count d.|:count d.',
 'hour' => ':count sat|:count sata|:count sati',
 'h' => ':count sat|:count sata|:count sati',
 'minute' => ':count minutu|:count minute|:count minuta',
 'min' => ':count min.|:count min.|:count min.',
 'second' => ':count sekundu|:count sekunde|:count sekundi',
 'a_second' => 'nekoliko sekundi|:count sekunde|:count sekundi',
 's' => ':count sek.|:count sek.|:count sek.',
 'ago' => 'prije :time',
 'from_now' => 'za :time',
 'after' => ':time poslije',
 'before' => ':time prije',
 'diff_yesterday' => 'ju?er',
 'diff_tomorrow' => 'sutra',
 'diff_before_yesterday' => 'prekju?er',
 'diff_after_tomorrow' => 'prekosutra',
 'formats' => [
 'LT' => 'H:mm',
 'LTS' => 'H:mm:ss',
 'L' => 'DD.MM.YYYY',
 'LL' => 'D. MMMM YYYY',
 'LLL' => 'D. MMMM YYYY H:mm',
 'LLLL' => 'dddd, D. MMMM YYYY H:mm',
 ],
 'calendar' => [
 'sameDay' => '[danas u] LT',
 'nextDay' => '[sutra u] LT',
 'nextWeek' => function (\Carbon\CarbonInterface $date) {
 switch ($date->dayOfWeek) {
 case 0:
 return '[u] [nedjelju] [u] LT';
 case 3:
 return '[u] [srijedu] [u] LT';
 case 6:
 return '[u] [subotu] [u] LT';
 default:
 return '[u] dddd [u] LT';
 }
 },
 'lastDay' => '[ju?er u] LT',
 'lastWeek' => function (\Carbon\CarbonInterface $date) {
 switch ($date->dayOfWeek) {
 case 0:
 case 3:
 return '[pro?lu] dddd [u] LT';
 case 6:
 return '[pro?le] [subote] [u] LT';
 default:
 return '[pro?li] dddd [u] LT';
 }
 },
 'sameElse' => 'L',
 ],
 'ordinal' => ':number.',
 'months' => ['sije?nja', 'velja?e', 'o?ujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', 'rujna', 'listopada', 'studenoga', 'prosinca'],
 'months_standalone' => ['sije?anj', 'velja?a', 'o?ujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac'],
 'months_short' => ['sij.', 'velj.', 'o?u.', 'tra.', 'svi.', 'lip.', 'srp.', 'kol.', 'ruj.', 'lis.', 'stu.', 'pro.'],
 'months_regexp' => '/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/',
 'weekdays' => ['nedjelju', 'ponedjeljak', 'utorak', 'srijedu', '?etvrtak', 'petak', 'subotu'],
 'weekdays_standalone' => ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', '?etvrtak', 'petak', 'subota'],
 'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sri.', '?et.', 'pet.', 'sub.'],
 'weekdays_min' => ['ne', 'po', 'ut', 'sr', '?e', 'pe', 'su'],
 'first_day_of_week' => 1,
 'day_of_first_week_of_year' => 1,
 'list' => [', ', ' i '],
 ];
 
 |