loresoft/msbuildtasks

Time Culture inconsistency

splendid25 opened this issue · 0 comments

The Time task is not consistent with the output Culture between FormattedTime (InvariantCulture) and the other parameters (CurrentCulture).

<Time Format="D">
	<Output TaskParameter="FormattedTime" PropertyName="CustomDate" />
	<Output TaskParameter="LongDate" PropertyName="LongDate" />
</Time>
        
<Message Text="$(CustomDate)" />
<Message Text="$(LongDate)" />

The output is :

Wednesday, 20 September 2017
mercredi 20 septembre 2017

These 2 outputs should be equals.
If possible, a new input parameter could define the expected Culture?