blob: c3fb3e97637b27d01b489f1928bde0dd47edc799 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3/**
4 * This file is part of the Carbon package.
5 *
6 * (c) Brian Nesbitt <brian@nesbot.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12/*
13 * Authors:
14 * - Daniel Cohen Gindi
15 * - JD Isaacks
16 * - Itai Nathaniel
17 * - GabMic
18 * - Yaakov Dahan (yakidahan)
19 */
20return [
21 'year' => 'שנה|{2}שנתיים|:count שנים',
22 'y' => 'שנה|:count שנ׳',
23 'month' => 'חודש|{2}חודשיים|:count חודשים',
24 'm' => 'חודש|:count חו׳',
25 'week' => 'שבוע|{2}שבועיים|:count שבועות',
26 'w' => 'שבוע|:count שב׳',
27 'day' => 'יום|{2}יומיים|:count ימים',
28 'd' => 'יום|:count ימ׳',
29 'hour' => 'שעה|{2}שעתיים|:count שעות',
30 'h' => 'שעה|:count שע׳',
31 'minute' => 'דקה|{2}שתי דקות|:count דקות',
32 'min' => 'דקה|:count דק׳',
33 'second' => 'שנייה|:count שניות',
34 'a_second' => 'כמה שניות|:count שניות',
35 's' => 'שניה|:count שנ׳',
36 'ago' => 'לפני :time',
37 'from_now' => 'בעוד :time מעכשיו',
38 'after' => 'אחרי :time',
39 'before' => 'לפני :time',
40 'diff_now' => 'עכשיו',
41 'diff_today' => 'היום',
42 'diff_today_regexp' => 'היום(?:\\s+ב־)?',
43 'diff_yesterday' => 'אתמול',
44 'diff_yesterday_regexp' => 'אתמול(?:\\s+ב־)?',
45 'diff_tomorrow' => 'מחר',
46 'diff_tomorrow_regexp' => 'מחר(?:\\s+ב־)?',
47 'formats' => [
48 'LT' => 'HH:mm',
49 'LTS' => 'HH:mm:ss',
50 'L' => 'DD/MM/YYYY',
51 'LL' => 'D [ב]MMMM YYYY',
52 'LLL' => 'D [ב]MMMM YYYY HH:mm',
53 'LLLL' => 'dddd, D [ב]MMMM YYYY HH:mm',
54 ],
55 'calendar' => [
56 'sameDay' => '[היום ב־]LT',
57 'nextDay' => '[מחר ב־]LT',
58 'nextWeek' => 'dddd [בשעה] LT',
59 'lastDay' => '[אתמול ב־]LT',
60 'lastWeek' => '[ביום] dddd [האחרון בשעה] LT',
61 'sameElse' => 'L',
62 ],
63 'meridiem' => function ($hour, $minute, $isLower) {
64 if ($hour < 5) {
65 return 'לפנות בוקר';
66 }
67 if ($hour < 10) {
68 return 'בבוקר';
69 }
70 if ($hour < 12) {
71 return $isLower ? 'לפנה"צ' : 'לפני הצהריים';
72 }
73 if ($hour < 18) {
74 return $isLower ? 'אחה"צ' : 'אחרי הצהריים';
75 }
76
77 return 'בערב';
78 },
79 'months' => ['ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'],
80 'months_short' => ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'],
81 'weekdays' => ['ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שבת'],
82 'weekdays_short' => ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'],
83 'weekdays_min' => ['א', 'ב', 'ג', 'ד', 'ה', 'ו', 'ש'],
84 'list' => [', ', ' ו -'],
85 'weekend' => [5, 6],
86];