Merge pull request #2723 from phl0/fileNaming

Use Ymd as file name to make sorting easier
这个提交包含在:
Andreas Kristiansen 2023-11-24 08:33:51 +01:00 提交者 GitHub
当前提交 b0e7d74db1
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 4 个文件被更改,包括 5 次插入5 次删除

查看文件

@ -1,6 +1,6 @@
<?php <?php
header('Content-Type: text/plain; charset=utf-8'); 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 Cloudlog ADIF export
<ADIF_VER:5>3.1.4 <ADIF_VER:5>3.1.4

查看文件

@ -1,6 +1,6 @@
<?php <?php
header('Content-Type: text/plain; charset=utf-8'); 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 Cloudlog ADIF export
<ADIF_VER:5>3.1.4 <ADIF_VER:5>3.1.4

查看文件

@ -1,6 +1,6 @@
<?php <?php
header('Content-Type: text/plain; charset=utf-8'); 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 =& get_instance();
$CI->load->library('Cabrilloformat'); $CI->load->library('Cabrilloformat');
@ -11,4 +11,4 @@ echo $CI->cabrilloformat->header($contest_id, $callsign, $claimed_score,
foreach ($qsos->result() as $row) { foreach ($qsos->result() as $row) {
echo $CI->cabrilloformat->qso($row); echo $CI->cabrilloformat->qso($row);
} }
echo $CI->cabrilloformat->footer(); echo $CI->cabrilloformat->footer();

查看文件

@ -1,6 +1,6 @@
<?php <?php
header('Content-Type: text/plain; charset=utf-8'); 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(); $CI =& get_instance();
$bands = array( $bands = array(
"2190m" => "VLF", "2190m" => "VLF",