There seems to be a bug in the template code when it comes to timespans and the TimeSpan variable.
I have the following code in my properties:
[NinjaScriptProperty]
[Display(Name="Test Time", Description="Start of the daily trade time", Order=4, GroupName="Debuging")]
public TimeSpan mTestTime
{ get; set; }
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
mTestTime = new TimeSpan(2, 14, 18);
}
}
Could this please be looked at?
V/R,
--Maxim S
Comment