forked from bcit-ci/CodeIgniter
-
Notifications
You must be signed in to change notification settings - Fork 0
multilingual supported CI Calendar
Derek Jones edited this page Jul 5, 2012
·
3 revisions
(For codeigniter v1.7.1) Additional parameter for translate calendar's day names and month names.
[sample] $prefs['translated_day_names'] = array('日', '一', '二', '三', '四', '五', '六'); $prefs['translated_month_names'] = array('01' => '一月', '02' => '二月', '03' => '三月', '04' => '四月', '05' => '五月', '06' => '六月', '07' => '七月', '08' => '八月', '09' => '九月', '10' => '十月', '11' => '十一月', '12' => '十二月'); 一月', '12' => '十二月'); $this->load->library('calendar', $prefs);