Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/Dater/Locale/It.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Dater\Locale;
use Dater\Dater;

class It extends \Dater\Locale {

protected static $months = array('Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre');
protected static $weekDays = array('Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato', 'Domenica');
protected static $weekDaysShort = array('Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab', 'Dom');

// Referring to https://en.wikipedia.org/wiki/Date_format_by_country
protected static $formats = array(
Dater::USER_DATE_FORMAT => 'd-m-Y',
Dater::USER_TIME_FORMAT => 'H:i',
Dater::USER_DATETIME_FORMAT => 'd-m-Y H:i',
);
}
18 changes: 18 additions & 0 deletions src/Dater/Locale/Ko.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Dater\Locale;
use Dater\Dater;

class Ko extends \Dater\Locale {

protected static $months = array('1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월');
protected static $weekDays = array('월요일', '화요일', '수요일', '목요일', '금요일', '토요일', '일요일');
protected static $weekDaysShort = array('월요일', '화요일', '수요일', '목요일', '금요일', '토요일', '일요일');

// Referring to https://en.wikipedia.org/wiki/Date_format_by_country
protected static $formats = array(
Dater::USER_DATE_FORMAT => 'Y년m월d일',
Dater::USER_TIME_FORMAT => 'H시 i분',
Dater::USER_DATETIME_FORMAT => 'Y년m월d일 H시 i분',
);
}
18 changes: 18 additions & 0 deletions src/Dater/Locale/ZhCn.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Dater\Locale;
use Dater\Dater;

class ZhCn extends \Dater\Locale {

protected static $months = array('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
protected static $weekDays = array('星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期天');
protected static $weekDaysShort = array('星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期天');

// Referring to https://en.wikipedia.org/wiki/Date_format_by_country
protected static $formats = array(
Dater::USER_DATE_FORMAT => 'Y年m月d日',
Dater::USER_TIME_FORMAT => 'H时i分',
Dater::USER_DATETIME_FORMAT => 'Y年m月d日 H时i分',
);
}