Merge branch 'development' into TBSliver/Minion-Tasks

This commit is contained in:
Thomas Bloor 2018-04-16 12:49:59 +01:00
commit c3ac620a2d
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC
23 changed files with 408 additions and 97 deletions

View file

@ -9,6 +9,8 @@ sub register {
my $value;
if ( $currency_string =~ /^£([\d.]+)/ ) {
$value = $1 * 1;
} elsif ( $currency_string =~ /^([\d.]+)/ ) {
$value = $1 * 1;
}
return $value;
});

View file

@ -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,
);