11
culex
Re: JQuery UI formdatepicker
  • 2012/7/1 12:00

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Quote:

you can see there are some other new functions like HijriDate.
So IMO it is better to move the whole customizations (definitions for Garegorian Calendar and definitions + functions for other calendars) to language folder.


I see I misunderstood the problem a little But I would agree the solution with the language defined javascript dom check is working pretty good.

I use this also in smallworld. Where a seperate language folder contains javascript defines and eventual functions for each language.
Programming is like sex:
One mistake and you have to support it for the rest of your life.

12
irmtfan
Re: JQuery UI formdatepicker
  • 2012/7/1 12:08

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Thank you.
The Jalali or hejira date is completely different from Garegorian date.
the year is 2012 in Garegorian but in jalali it is 1391 and in hejira it is 1433
The days in each month are totally different see below:
$g_days_in_month = array(312831303130313130313031);
    
$j_days_in_month = array(313131313131303030303029);


i think all definitions and functions can be moved to language folder.

13
deka87
Re: JQuery UI formdatepicker
  • 2012/10/17 8:15

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Any instructions on how to install it?

Regards,

Deka

Login

Who's Online

103 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 103


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits