commits

date

comment

70651
by omidkrad
(346 downloads)
Dec 24, 2012
4:41 PM

If 'new' keyword not used on PersianDate constructor, create a new instance. This usage is discouraged but it is implemented here only to be consistent with the behavior of Date(). Notice that if 'new' keyword is not used, then any arguments are ignored similar to Date(...).

70650
by omidkrad
(0 downloads)
Dec 24, 2012
4:36 PM

'new PersianDate(0)' should return start of unixtimestamp consistent with 'new Date(0)'

70617
by omidkrad
(3 downloads)
Dec 19, 2012
5:26 AM

Use === for comparisons wherever it made sense.

70616
by omidkrad
(0 downloads)
Dec 19, 2012
4:52 AM

Don't check for year range in validRange(); this caused some stack overflow problem.

70615
by omidkrad
(0 downloads)
Dec 19, 2012
4:40 AM

Fixed bug in IntlDateBaseSetMilliseconds

70613
by omidkrad
(0 downloads)
Dec 18, 2012
6:33 PM

Use relative path in reference to IntlDate.js

70610
by omidkrad
(1 download)
Dec 17, 2012
9:41 PM

Link to codeplex profile

70609
by omidkrad
(0 downloads)
Dec 17, 2012
7:48 PM

Accept Date, IntlDate ot msTicks as single parameters to the constructor.

70608
by omidkrad
(0 downloads)
Dec 17, 2012
7:11 PM

Well defining the constructor and added more comments.
Renamed msTime to msTicks (ticks in milliseconds)

70604
by omidkrad
(1 download)
Dec 17, 2012
6:11 AM

Changed PersianDateUTC to PersianDate, and changed all implementations so that the constructor creates an IntlDate in local time zone.
Allow specifying caltype as a name string.

70600
by omidkrad
(1 download)
Dec 16, 2012
5:41 AM

toGMTString() is deprecated. Use toUTCString() instead.

70598
by omidkrad
(1 download)
Dec 15, 2012
8:37 PM

Cannot directly invoke Date.prototype.getTimezoneOffset()

70597
by omidkrad
(0 downloads)
Dec 15, 2012
8:34 PM

Make the initialization a little bit more lightweight since we only want time zone offset.

70596
by omidkrad
(0 downloads)
Dec 15, 2012
8:08 PM

Fixed to to work on latest browsers. Tested on IE 9, FireFox 17 and Chrome 23.

To try, use the following code in JSConsole:
Calendar.digitShape = 2;

today = new Date().toPersianDate().toLocaleString();

69709
by Project Collectio...
(16 downloads)
Oct 1, 2012
10:10 PM

Upgrade: New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link: http://go.microsoft.com/fwlink/?LinkId=254563

69708
by Project Collectio...
(0 downloads)
Oct 1, 2012
10:06 PM

Checked in by server upgrade

9955
by omidkrad
(431 downloads)
Sep 10, 2007
5:33 AM

Initial Submission

9947
by omidkrad
(21 downloads)
Sep 10, 2007
3:01 AM

Initial Submission

9944
by omidkrad
(15 downloads)
Sep 10, 2007
12:07 AM

Initial Submission

  • 1-19 of 19 Change Sets
    • Previous
    • 1
    • Next
    • Showing
    • 10
    • 25
    • Change Sets