mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Fix bug on graph tooltips where some values were incorrectly converted to dates.
Format the header on the history modal to human readable date.
This commit is contained in:
parent
d71e12ea6e
commit
9564c5ed81
2 changed files with 9 additions and 13 deletions
|
@ -5,7 +5,7 @@
|
|||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-remove"></i></button>
|
||||
<h4 class="modal-title" id="myModalLabel">
|
||||
<strong><span id="modal_header_ip_address">
|
||||
<i class="fa fa-history"></i> History for ${data}
|
||||
<i class="fa fa-history"></i> History for <span id="date-header">${data}</span>
|
||||
</span></strong>
|
||||
</h4>
|
||||
</div>
|
||||
|
@ -31,6 +31,7 @@
|
|||
<script src="interfaces/default/js/tables/history_table_modal.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#date-header').html(moment('${data}','YYYY-MM-DD').format('ddd MMM Do YYYY'));
|
||||
history_table_modal_options.ajax = {
|
||||
"url": "get_history",
|
||||
type: "post",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue