https://bz.apache.org/bugzilla/show_bug.cgi?id=61079

--- Comment #10 from Jan Mat <[email protected]> ---
You use "seconds sind epoch" to define 'now'.
  <target name="testMagicProperty">
    <local name="ant.tstamp.now"/>
    <property name="ant.tstamp.now" value="100000"/>
    <tstamp/>
    <au:assertPropertyEquals name="DSTAMP" value="19700102"/>
  </target>

Would it be more user friendly to use the ISO format instead/additionally?

  <target name="testMagicProperty">
    <local name="ant.tstamp.now.iso"/>
    <property name="ant.tstamp.now" value="2017-05-09T08:07"/>
    <tstamp/>
    <au:assertPropertyEquals name="DSTAMP" value="20170509"/>
  </target>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to