{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/29251","labels_url":"https://api.github.com/repos/saltstack/salt/issues/29251/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/29251/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/29251/events","html_url":"https://github.com/saltstack/salt/issues/29251","id":119325211,"number":29251,"title":"status.uptime causes exception on Windows minion 2015.8.1","user":{"login":"adamsewell","id":911426,"avatar_url":"https://avatars.githubusercontent.com/u/911426?v=3","gravatar_id":"","url":"https://api.github.com/users/adamsewell","html_url":"https://github.com/adamsewell","followers_url":"https://api.github.com/users/adamsewell/followers","following_url":"https://api.github.com/users/adamsewell/following{/other_user}","gists_url":"https://api.github.com/users/adamsewell/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsewell/subscriptions","organizations_url":"https://api.github.com/users/adamsewell/orgs","repos_url":"https://api.github.com/users/adamsewell/repos","events_url":"https://api.github.com/users/adamsewell/events{/privacy}","received_events_url":"https://api.github.com/users/adamsewell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-28T23:55:18Z","updated_at":"2015-11-28T23:55:18Z","closed_at":null,"body":"I've been playing around with the status module on some Windows 7 minions and one of the issues I've noticed is the following. If I issue ```salt -N 'win_workstations' status.uptime``` I get the following error.\r\n ```    \r\nThe minion function caused an exception: Traceback (most recent call last):\r\n      File \"c:\\salt\\bin\\lib\\site-packages\\salt\\minion.py\", line 1036, in _thread_return\r\n        return_data = func(*args, **kwargs)\r\n      File \"c:\\salt\\bin\\lib\\site-packages\\salt\\modules\\win_status.py\", line 220, in uptime\r\n        startup_time = time.strptime(startup_time, '%d/%m/%Y %H:%M:%S')\r\n      File \"c:\\salt\\bin\\lib\\_strptime.py\", line 467, in _strptime_time\r\n        return _strptime(data_string, format)[0]\r\n      File \"c:\\salt\\bin\\lib\\_strptime.py\", line 325, in _strptime\r\n        (data_string, format))\r\n    ValueError: time data '11/24/2015 8:10:25 AM' does not match format '%d/%m/%Y %H:%M:%S'\r\n```\r\n\r\nMaster:\r\n```\r\nSalt Version:\r\n           Salt: 2015.8.1\r\n\r\nDependency Versions:\r\n         Jinja2: 2.7.2\r\n       M2Crypto: Not Installed\r\n           Mako: 0.9.1\r\n         PyYAML: 3.10\r\n          PyZMQ: 14.4.0\r\n         Python: 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n           RAET: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.0.4\r\n           cffi: 0.8.2\r\n       cherrypy: Not Installed\r\n       dateutil: 1.5\r\n          gitdb: 0.5.4\r\n      gitpython: 0.3.2 RC1\r\n          ioflo: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.3.0\r\n   mysql-python: 1.2.3\r\n      pycparser: 2.10\r\n       pycrypto: 2.6.1\r\n         pygit2: Not Installed\r\n   python-gnupg: Not Installed\r\n          smmap: 0.8.2\r\n        timelib: Not Installed\r\n\r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n        machine: x86_64\r\n        release: 3.13.0-57-generic\r\n         system: Ubuntu 14.04 trusty\r\n```\r\n\r\nMinion:\r\n```\r\n    Salt Version:\r\n               Salt: 2015.8.1\r\n     \r\n    Dependency Versions:\r\n             Jinja2: 2.7.3\r\n           M2Crypto: Not Installed\r\n               Mako: Not Installed\r\n             PyYAML: 3.11\r\n              PyZMQ: 14.7.0\r\n             Python: 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]\r\n               RAET: Not Installed\r\n            Tornado: 4.2.1\r\n                ZMQ: 4.1.2\r\n               cffi: Not Installed\r\n           cherrypy: Not Installed\r\n           dateutil: 2.4.2\r\n              gitdb: Not Installed\r\n          gitpython: Not Installed\r\n              ioflo: Not Installed\r\n            libnacl: Not Installed\r\n       msgpack-pure: Not Installed\r\n     msgpack-python: 0.4.6\r\n       mysql-python: Not Installed\r\n          pycparser: Not Installed\r\n           pycrypto: 2.6.1\r\n             pygit2: Not Installed\r\n       python-gnupg: 0.3.7\r\n              smmap: Not Installed\r\n            timelib: Not Installed\r\n     \r\n    System Versions:\r\n               dist:   \r\n            machine: AMD64\r\n            release: 7\r\n             system: 7 6.1.7601 SP1 Multiprocessor Free\r\n```"}}