mirror of
https://github.com/simshaun/recurr.git
synced 2025-01-17 16:08:14 +01:00
Fix the date format for the Dutch language (#102)
This commit is contained in:
parent
2d96579d14
commit
12a9530bd1
@ -32,10 +32,10 @@ return array(
|
|||||||
'(~ approximate)' => '(~ ongeveer)',
|
'(~ approximate)' => '(~ ongeveer)',
|
||||||
'until %date%' => 'tot en met %date%', // e.g. every year until July 4, 2014
|
'until %date%' => 'tot en met %date%', // e.g. every year until July 4, 2014
|
||||||
'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
|
'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
|
||||||
return $months[date('n', $params['date']) - 1] . ' '. date('j, Y', $params['date']);
|
return date('j', $params['date']).' '.$months[date('n', $params['date']) - 1] . ' '. date('Y', $params['date']);
|
||||||
},
|
},
|
||||||
'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
|
'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
|
||||||
return $months[$params['month'] - 1].' '.$params['day'];
|
return $params['day'].' '.$months[$params['month'] - 1];
|
||||||
},
|
},
|
||||||
'day_names' => $days,
|
'day_names' => $days,
|
||||||
'month_names' => $months,
|
'month_names' => $months,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user