1
0
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:
Carlos Martín 2014-10-22 16:50:29 +02:00
parent 8f90884c1d
commit 7b6c056276

View File

@ -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
//--------------------------------------------------------------------------