Commit:    a40d905af8709c3bcf4b21f3925d9fe3fad220bb
Author:    Christoph M. Becker <[email protected]>         Fri, 18 Oct 2019 
11:03:46 +0200
Parents:   fa00b701facfb3ede8eab8589600766184b29221
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=a40d905af8709c3bcf4b21f3925d9fe3fad220bb

Log:
Fix locale-depending timestamp generation

According to commit 6baf0ef[1], but this time for PECL builds.

[1] 
<http://git.php.net/?p=web/rmtools.git;a=commit;h=6baf0ef19d94b0d10bb0bdc52e01958e8adb99ce>

Changed paths:
  M  bin/pecl_build_all.bat


Diff:
diff --git a/bin/pecl_build_all.bat b/bin/pecl_build_all.bat
index f73ab19..4e709b4 100644
--- a/bin/pecl_build_all.bat
+++ b/bin/pecl_build_all.bat
@@ -6,7 +6,7 @@ if not exist %~dp0rmtools_setvars.bat (
 )
 call %~dp0rmtools_setvars.bat 
 
-for /f "tokens=2-8 delims=.:/ " %%a in ("%date% %time%") do set 
cur_date=%%c-%%a-%%b_%%d-%%e-%%f.%%g
+for /f "tokens=1-8 delims=-" %%a in ('powershell get-date -format 
"{yyyy-MM-dd-HH-mm-ss-ff}"') do set cur_date=%%a-%%b-%%c_%%d-%%e-%%f.%%g
 
 set LOG_FILE=%PHP_RMTOOLS_LOG_PATH%\task-pecl-%cur_date%.log
 set LOCK_FILE=%PHP_RMTOOLS_LOCK_PATH%\pecl.lock


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to