Commit 3bdf6af6 authored by Aaron Petkau's avatar Aaron Petkau

Fixing date format

parent 5ecd1679
......@@ -173,13 +173,12 @@ try {
my $total_bases = $forward_qc->{'totalBases'} + $reverse_qc->{'totalBases'};
my $coverage = sprintf "%0.0f",($total_bases/$reference_size);
my $project_date = localtime($project_info->{'createdDate'}/1000)->strftime('%F %T');
my $sample_date = localtime($sample->{'createdDate'}/1000)->strftime('%F %T');
my $sample_updated_date = localtime($sample->{'modifiedDate'}/1000)->strftime('%F %T');
my $project_date = localtime($project_info->{'createdDate'}/1000);
my $sample_date = localtime($sample->{'createdDate'}/1000);
my $file_pair_label = $sequence_file_pair->{'label'};
my $sequence_file_create_date = localtime($sequence_file_pair->{'createdDate'}/1000)->strftime('%F %T');
my $sequence_file_create_date = localtime($sequence_file_pair->{'createdDate'}/1000);
$report_worksheet->write_row($row,0,[$project_info->{'name'},$sample->{'sampleName'},$sample_date,$coverage,$total_bases,$reference_size,$project_info->{'identifier'},$sample->{'identifier'},$sequence_file_pair->{'identifier'},$sequence_file_create_date,$file_pair_label]);
$row++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment