public void ToLocaleDateStringWorks() { var dt = new JsDate(2011, 7, 12, 13, 42); var s = dt.ToLocaleDateString(); Assert.IsTrue(s.IndexOf("2011") >= 0 && s.IndexOf("42") < 0); }
public void ToLocaleDateStringWorks() { var dt = new JsDate(2011, 7, 12, 13, 42); var s = dt.ToLocaleDateString(); Assert.IsTrue(s.IndexOf("2011") >= 0 && s.IndexOf("42") < 0); }