Use Ymd as file name to make sorting easier

This commit is contained in:
phl0 2023-11-24 08:25:49 +01:00
parent c37b1d83fd
commit 882b8fd0da
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<?php
header('Content-Type: text/plain; charset=utf-8');
header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-'.date('dmY-Hi').'.adi"')
header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-'.date('Ymd-Hi').'.adi"')
?>
Cloudlog ADIF export
<ADIF_VER:5>3.1.4

View File

@ -1,6 +1,6 @@
<?php
header('Content-Type: text/plain; charset=utf-8');
header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-'.date('dmY-Hi').'.adi"')
header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-'.date('Ymd-Hi').'.adi"')
?>
Cloudlog ADIF export
<ADIF_VER:5>3.1.4

View File

@ -1,6 +1,6 @@
<?php
header('Content-Type: text/plain; charset=utf-8');
header('Content-Disposition: attachment; filename="'.$callsign.'-'.$contest_id.'-'.date('dmY-Hi').'.cbr"');
header('Content-Disposition: attachment; filename="'.$callsign.'-'.$contest_id.'-'.date('Ymd-Hi').'.cbr"');
$CI =& get_instance();
$CI->load->library('Cabrilloformat');
@ -11,4 +11,4 @@ echo $CI->cabrilloformat->header($contest_id, $callsign, $claimed_score,
foreach ($qsos->result() as $row) {
echo $CI->cabrilloformat->qso($row);
}
echo $CI->cabrilloformat->footer();
echo $CI->cabrilloformat->footer();

View File

@ -1,6 +1,6 @@
<?php
header('Content-Type: text/plain; charset=utf-8');
header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-SOTA-'.date('dmY-Hi').'.csv"');
header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-SOTA-'.date('Ymd-Hi').'.csv"');
$CI =& get_instance();
$bands = array(
"2190m" => "VLF",