Merge pull request #2084 from phl0/reformatOqrsTime
Suppress seconds in OQRS requests (zeros anyway)
这个提交包含在:
当前提交
1dc49053af
共有 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>
|
||||
|
|
|
|||
正在加载…
在新工单中引用