Skip to content

Commit 515a0e9

Browse files
authored
Merge pull request #17 from devgeniem/zArubaru-patch-1
Changed strtodate helper to use date_i18n function instead of just the normal date.
2 parents e3268e8 + 983f432 commit 515a0e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers/strtodate.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public function output() {
77
$format = $this->params->format;
88
$now = $this->params->now;
99

10-
return date( $format, strtotime( $value, $now ) );
10+
return date_i18n( $format, strtotime( $value, $now ) );
1111
}
1212
}
1313

14-
$this->add_helper( 'strtodate', new Strtodate() );
14+
$this->add_helper( 'strtodate', new Strtodate() );

0 commit comments

Comments
 (0)