public void LocaleFormatWorks() { var dt = new JsDate(2011, 7, 12, 13); Assert.AreEqual(dt.Format("yyyy-MM-dd"), "2011-08-12"); }