fix stockdata asset DateTime exception
This commit is contained in:
parent
03c935fa97
commit
976ea07763
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ sub _convertToEpoch {
|
|||
my ($month,$day,$year) = split("/",$date);
|
||||
$month = $self->_appendZero($month);
|
||||
$day = $self->_appendZero($day);
|
||||
my $tfixed = substr($time,0,-2);
|
||||
my $tfixed = substr($time,0,5);
|
||||
my ($hour,$minute) = split(":",$tfixed);
|
||||
if($time =~ m/pm/i) {
|
||||
$hour += 12;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue