f7be430 Fix getFormatedDateTime() to use current month instead of previous (#1646)

1 file Authored by Sharon Gratch 2 years ago, Committed by GitHub 2 years ago,
    Fix getFormatedDateTime() to use current month instead of previous (#1646)
    
    since the JavaScript Date.getMonth() method returns the month value

    starting from 0 (0 to 11), need to add one when using.

    

    Check for details: https://www.w3schools.com/jsref/jsref_getmonth.asp

    

    Bug-Url: https://github.com/oVirt/ovirt-web-ui/issues/1644

    Signed-off-by: Sharon Gratch <sgratch@redhat.com>

    

    Signed-off-by: Sharon Gratch <sgratch@redhat.com>
        
file modified
+1 -1