<tstamp> <format pattern="%Y%m%d_%H%M%S" property="build.time"> </format></tstamp> <target name="tstamp"> <tstamp> <echo>build time = ${build.time}</echo> </tstamp></target>
Spent quite a long time to find the root cause, finally, got the clue on what was happening.
Open the php.ini that your PHP is referring to, edit the locale as your current timezone. For other timezone, please refer to http://us1.php.net/manual/en/datetime.configuration.php#ini.date.timezone
date.timezone = Asia/Singapore
No comments:
Post a Comment