Hi Dw,
After upgrade to v8.2.3.0 I have some troubles with handling of the dateformat - the problem seems to be in this function:
public void SetTag(string name, DateTime value, string dateFormat)
{
if (this.Type == Template.TemplateType.Razor)
{
this.SetRawTag(name, (object) value);
}
else
{
if (!name.StartsWith("Global:") && !this.HtmlHasPartialTag(name))
return;
this.SetTag(name, value);
string str = string.IsNullOrEmpty(dateFormat) ? Dates.ShowDate(value, dateFormat, false, "hh:mm") : value.ToShortDateString();
this.SetTag(name, str);
this.SetTag(name + ".ShortDate", str);
}
}
Where is tests for
string.IsNullOrEmpty(dateFormat)
And if it is empty, then try to format - I guess that the option part should be switched around.
Best regards, Anders