fix datetime template issue. should use @model string.