Merge pull request #2084 from phl0/reformatOqrsTime

Suppress seconds in OQRS requests (zeros anyway)
这个提交包含在:
Andreas Kristiansen 2023-04-26 07:45:41 +02:00 提交者 GitHub
当前提交 1dc49053af
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 3 次插入3 次删除

查看文件

@ -280,7 +280,7 @@ class Oqrs_model extends CI_Model {
$limit = $searchCriteria['oqrsResults'];
$sql = "
SELECT *
SELECT *, DATE_FORMAT(requesttime, \"%Y-%m-%d %H:%i\") as requesttime, DATE_FORMAT(time, \"%H:%i\") as time
FROM oqrs
INNER JOIN station_profile ON oqrs.station_id=station_profile.station_id
WHERE station_profile.user_id = ?

查看文件

@ -27,7 +27,7 @@ The following QSO(s) were found. Please fill out the date and time and submit yo
echo '<td><input class="form-control" type="date" name="date" value="" id="date" placeholder="YYYY-MM-DD"></td>';
echo '<td><input class="form-control qsotime" type="text" name="time" value="" id="time" maxlength="5" placeholder="HH:MM"></td>';
echo '<td id="band">'. $qso->col_band .'</td>';
echo '<td id="mode">'; echo $qso->col_submode == null ? strtoupper($qso->col_mode) : strtoupper($qso->col_submode); echo '</td>';
echo '<td id="mode">'; echo $qso->col_submode == null ? strtoupper($qso->col_mode) : strtoupper($qso->col_submode); echo '</td>';
echo '</tr>';
}
?>
@ -64,4 +64,4 @@ The following QSO(s) were found. Please fill out the date and time and submit yo
<button type="button" onclick="submitOqrsRequest(this.form);" class="btn btn-sm btn-primary"><i
class="fas fa-plus-square"></i> Submit request</button>
</form>
</form>