From 76da32ffb194861ba4bc89ffa540ef9e378d8ced Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 8 Jan 2018 11:23:16 +0100 Subject: [PATCH] decimal timestamp can also have comma, depending on locale --- lib/MojoFacets/Data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MojoFacets/Data.pm b/lib/MojoFacets/Data.pm index 0f47450..37f1f21 100644 --- a/lib/MojoFacets/Data.pm +++ b/lib/MojoFacets/Data.pm @@ -69,7 +69,7 @@ sub index { find( sub { my $file = $File::Find::name; - if ( -f $file && $file =~ m/([^\/]+)\.changes\/(\d+\.\d+.+)/ ) { + if ( -f $file && $file =~ m/([^\/]+)\.changes\/(\d+[\.,]\d+.+)/ ) { push @{ $changes->{$1} }, $2 } elsif ( import_module( $file ) ) { $file =~ s/$data_dir\/*//; -- 2.20.1