2007-09-06 Esteban Sanchez <estebans@artica.es>

* pandora_windows_service.cc: Date is now filled with zeros to the
        left and two digits.

        * bin/PandoraAgent.exe: Updated to last commmit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
esanchezm 2007-09-06 15:21:13 +00:00
parent 2d49ba04de
commit 52fa820276
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-09-06 Esteban Sanchez <estebans@artica.es>
* 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 <raulofpandora@gmail.com>
* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated

View File

@ -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");