The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hijri date
Hello ,
Our country in middle east has a different offical date than christian date . There is a php function for conversion of this dates to eachother . But I don't know where is the best place to add this function . We were add this function to functions.php but after version 3 , the admincp gets the date from functions.php and when I edit a user , the all dates changes to 1970 after saving because of an invalid date of functions.php delieverd. Please guide me where is the best place to have an addintional date field or conversion of current field ... I am not proffesional in php but have some playing with it . Thanks for your help |
#2
|
||||
|
||||
Is it not possible for you to set the date style in the admincp/language ?
|
#3
|
|||
|
|||
No , It's not just a style like "MM DD YY" or "YY DD MM" , For example ... Our official today date is : 1386 . 04 . 10 as "YYYY , MM , DD" . I should convert 2007 to 1386 and there is a ready php formula for it.
Thanks for your attention . |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|