Merge branch 'development' into TBSliver/Minion-Tasks
This commit is contained in:
commit
c3ac620a2d
23 changed files with 408 additions and 97 deletions
|
@ -9,6 +9,8 @@ sub register {
|
|||
my $value;
|
||||
if ( $currency_string =~ /^£([\d.]+)/ ) {
|
||||
$value = $1 * 1;
|
||||
} elsif ( $currency_string =~ /^([\d.]+)/ ) {
|
||||
$value = $1 * 1;
|
||||
}
|
||||
return $value;
|
||||
});
|
||||
|
|
|
@ -66,6 +66,7 @@ sub register {
|
|||
|
||||
$app->helper( format_iso_datetime => sub {
|
||||
my ( $c, $datetime_obj ) = @_;
|
||||
return unless defined $datetime_obj;
|
||||
return $c->iso_datetime_parser->format_datetime(
|
||||
$datetime_obj,
|
||||
);
|
||||
|
|
Reference in a new issue