PluginsOCSInventory-NG / winupdate

Retrieve windows update states and error codes
GNU General Public License v2.0
6 stars 5 forks source link

Bad date in OCS #6

Closed Tazzmaniack closed 3 years ago

Tazzmaniack commented 6 years ago

I have installed the last package in /usr/share/ocsinventory-reports/ocsreports/download/ redhat 7.x with last version of OCS 2.5. and put the vbs on each agent in plugins directory with good rights. But when i tried to see the date of installation KB i see : 0000-00-00 00:00:00 in installation date. but on the xml file : i see for example :

Microsoft Corporation Update KB2919355 (http://support.microsoft.com/?kbid=2919355) 0 11/22/2014 0 0

Why the date is on french state and not us ? this is perhaps why we don't have the date on OCS ?

Tazzmaniack commented 6 years ago

Thanks in advance to help me

charleneauger commented 3 years ago

Hi @Tazzmaniack ,

The windows update date format is mm/dd/YYYY and not dd/mm/YYYY.

This is a weird behavior from windows itself because the software installation date will always be returned in the YYYY/mm/dd. However, the windows KB and patches will always have the mm/dd/YYYY format.

If you plan on getting an accurate installation date, we recommend to install the latest version of the plugin. We also added the hotfix so it will return a more detailled list of applied patches on the computer.

Regards, Charlene