mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Bug #3133: Init end time input for accounting
This commit is contained in:
parent
8f90884c1d
commit
7b6c056276
@ -4905,6 +4905,14 @@ function accountingGraphs(div, opt){
|
||||
|
||||
$("#acct_start_time", div).val(d.getFullYear() + '-' + ('0'+(d.getMonth()+1)).slice(-2) + '-' + ('0'+d.getDate()).slice(-2));
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Init end time to today
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
d = new Date();
|
||||
|
||||
$("#acct_end_time", div).val(d.getFullYear() + '-' + ('0'+(d.getMonth()+1)).slice(-2) + '-' + ('0'+d.getDate()).slice(-2));
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// VM owner: all, group, user
|
||||
//--------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user