Author: peterw
Date: Mon Nov 26 01:55:30 2007
New Revision: 30769
URL:
http://svn.reactos.org/svn/reactos?rev=30769&view=rev
Log:
- Fix a bug in TimeDate.cmd.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/TimeDate.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/TimeDate.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Tim…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/TimeDate.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/TimeDate.cmd Mon Nov 26 01:55:30 2007
@@ -24,10 +24,10 @@
for /f "usebackq tokens=1" %%u in (`time /t`) do set TIMERAW=%%u
::
-:: Check if we have an hour under 10, if so pad it with a zero.
+:: Check if we need to pad the time with a zero.
::
if "%TIMERAW:~1,1%" == ":" (
- set TIMERAW=0%t%
+ set TIMERAW=0%TIMERAW%
)
::