You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a new date var d = new Date().today();
2. alert(d.toShortTimeString())
What is the expected output? What do you see instead?
Expected: 6/19/2017
See: Mon Jun 19 2017 00:00:00 GMT+0100 (GMT Daylight Time)
What version of the product are you using? On what operating system?
Alpha1
Please provide any additional information below.
All these methods do not work because they have the formatPatterns.xxx
option spelt incorrectly. Example
return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern);
should be
return this.toString(Date.CultureInfo.formatPatterns.shortDate);
Original issue reported on code.google.com by adrianki...@googlemail.com on 20 Apr 2008 at 9:01
The text was updated successfully, but these errors were encountered:
We would recommend using the latest code available from SVN
(http://www.datejs.com/svn/) as the .toShortTimeString function has been
updated.
NOTE: The .toShortTimeString function has been removed from sugarpak.js. Please
use
.toString("t").
For more information, please see the CHANGELOG.txt
(http://www.datejs.com/changelog/)
notes from 2008-04-13 (Revision #162), item #14.
14. Removed .toShortTimeString() from sugarpak.js. Please use .toString("t").
Hope this helps
Original comment by geoff%co...@gtempaccount.com on 21 Apr 2008 at 2:22
Changed title: [FIXED] toShortDateString, toShortTimeString etc do not work - spelling
Original issue reported on code.google.com by
adrianki...@googlemail.com
on 20 Apr 2008 at 9:01The text was updated successfully, but these errors were encountered: