mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
Bug #3133: Init end time input for accounting
This commit is contained in:
1 parent
8f90884c1d
commit
7b6c056276
1 file changed
+8
@@ -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
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user