Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
class CustomtimeHelper extends AppHelper {
public $helpers = array('Html', 'Time');
public $days = array(
1 => array(
'long' => 'Lunedì',
'short' => 'Lun'
),
2 => array(
'long' => 'Martedì',
'short' => 'Mar'
),
3 => array(
'long' => 'Mercoledì',
'short' => 'Mer'
),
4 => array(
'long' => 'Giovedì',
'short' => 'Gio'
),
5 => array(
'long' => 'Venerdì',
'short' => 'ven'
),
6 => array(
'long' => 'Sabato',
'short' => 'Sab'
),
7 => array(
'long' => 'Domenica',
'short' => 'Dom'
)
);
public $months = array(
1 => array(
'long' => 'Gennaio',
'short' => 'Gen'
),
2 => array(
'long' => 'Febbraio',
'short' => 'Feb'
),
3 => array(
'long' => 'Marzo',
'short' => 'Mar'
),
4 => array(
'long' => 'Aprile',
'short' => 'Apr'
),
5 => array(
'long' => 'Maggio',
'short' => 'Mag'
),
6 => array(
'long' => 'Giugno',
'short' => 'Giu'
),
7 => array(
'long' => 'Luglio',
'short' => 'Lug'
),
8 => array(
'long' => 'Agosto',
'short' => 'Ago'
),
9 => array(
'long' => 'Settembre',
'short' => 'Set'
),
10 => array(
'long' => 'Ottobre',
'short' => 'Ott'
),
11 => array(
'long' => 'Novembre',
'short' => 'Nov'
),
12 => array(
'long' => 'Dicembre',
'short' => 'Dic'
),
);
public $settings = array();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.