https://issues.apache.org/bugzilla/show_bug.cgi?id=55940
Bug ID: 55940
Summary: Wrong timestamp format output for Year (only today
december 30 2013)
Product: Ant
Version: 1.9.2
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Wrong year is echoed when format timestamp in a simple task:
<target name="Test">
<tstamp>
<format property="Year" pattern="YYYY" ></format>
</tstamp>
<echo>ANTVER ${antversion} Year ${Year} ${TODAY}</echo>
</target>
The output for this is:
ANTVER 1.9.2 Year 2014 December 30 2013
Notice that the value in property "Year" is wrong. This has been working a few
days ago. So it has to do with today's date (December 30th) which is very close
to 2014.
I use this property as build number.
--
You are receiving this mail because:
You are the assignee for the bug.