diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index de6f501f3c..7780fcbbce 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,10 @@ +2007-09-06 Esteban Sanchez + + * pandora_windows_service.cc: Date is now filled with zeros to the + left and two digits. + + * bin/PandoraAgent.exe: Updated to last commmit. + 2007-09-05 Raul Mateos * installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated diff --git a/pandora_agents/win32/bin/PandoraAgent.exe b/pandora_agents/win32/bin/PandoraAgent.exe index fa1339290f..f19add63c6 100755 Binary files a/pandora_agents/win32/bin/PandoraAgent.exe and b/pandora_agents/win32/bin/PandoraAgent.exe differ diff --git a/pandora_agents/win32/pandora_windows_service.cc b/pandora_agents/win32/pandora_windows_service.cc index a8b91b92ee..df1b8c025e 100644 --- a/pandora_agents/win32/pandora_windows_service.cc +++ b/pandora_agents/win32/pandora_windows_service.cc @@ -143,8 +143,9 @@ Pandora_Windows_Service::getXmlHeader () { agent->SetAttribute ("version", getPandoraAgentVersion ()); GetSystemTime(&st); - sprintf (timestamp, "%d-%d-%d %d:%d:%d", st.wYear, st.wMonth, st.wDay, + sprintf (timestamp, "%d-%02d-%02d %02d:%02d:%02d", st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond); + agent->SetAttribute ("timestamp", timestamp); value = conf->getValue ("interval");