Servers - General
cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in HPE Services Reporting Tool Enhanced version 9.16.00

 
Highlighted
Benkku
Occasional Visitor

Bug in HPE Services Reporting Tool Enhanced version 9.16.00

Subject: Date format bug in HPE Services Reporting Tool Enhanced version 9.16.00

File containing VBScript bug: HPSrptSA.hta

Faulting lines, all vbscript lines containing code:

DateAdd("s", CollectionStartedSecFromProgress, "1-Jan-1970")

Description:

DateAdd function raises an error if system locale date format is different, than what is hard coded (eng) to vbscript code part of the hpsrptsa.hta file.

fex. line 791 in Finnish locale (hard coded) should be:

CollTime.InnerHTML = DateAdd("s", CollectionCompletedSecFromProgress, "01.01.1970")

or better yet, let vbscript format date correctly.

CollTime.InnerHTML = DateAdd("s", CollectionCompletedSecFromProgress, DateValue("1-Jan-1970"))

Regards

Bengt