Bug/DateParser.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Bug/Alert.pm ↑ Summary
1 package Weather::Bug::DateParser;
2  
3 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 13 our $VERSION = '0.25';
7  
8 13 ▶use DateTime::Format::Builder(
Subroutine BEGIN: called CC=1 SCAR=0.0
9 13 parsers => {
10 parse_datetime => [
11 {
12 strptime => '%m/%d/%Y %I:%M:%S %p',
13 },
14 {
15 strptime => '%d-%B-%Y %I:%M:%S %p',
16 },
17 ],
18 },
19 13 );
20  
21 13 1;
22 __END__
« Bug/Alert.pm ↑ Summary