--- README -------------------------------------------------------------
Calendar Systems
Written by Sina Salek
http://sina.salek.ws
Requirements: Drupal 5.x
--- INSTALLATION --------------------------------------------------------
1. Install this module, if you don't know how to do it , read this : http://drupal.org/node/70151
2. Add the following code at the begining of the format_date() function in /includes/common.inc
or run the patch file located in patches/ folder in module's folder. if you don't know how to apply a patch,
there is a very good tutorial here http://drupal.org/patch/apply
// Custom hook
foreach (module_implements('format_date') AS $module) {
if ($module!='date') {
$function = $module .'_format_date';
$r=$function($timestamp, $type , $format , $timezone);
if ($r!=false) {
return $r;
}
}
}
3. Enable "Calendar Systems" under Administer > Site building > Modules.
4. Install & Enable i18n module : http://drupal.org/project/i18n
5. Add farsi as new language
6. Change interface's language to farsi(fa), you should be able to see date(s) in Iranian format
--- Support --------------------------------------------------------
Found a bug? report it here http://drupal.org/node/add/project-issue/calendar_systems
--- CHANGELOG --------------------------------------------------------
0.4, 2009-Aug-14
----------------------
- Fixing fatal error when the cache is empty
0.4, 2009-Aug-13
----------------------
- Fixing encoding issue in iranian calendar
0.3, 2009-Aug-13
----------------------
- Fixing error in .info file
0.2, 2009-Aug-13
----------------------
- Fixing incompatibility with date module
- Adding require patch as file and also updating in readme
- Production release
0.1, 2008-Jan-26
----------------------
- Initial 0.1 release
View source
- --- README -------------------------------------------------------------
-
- Calendar Systems
-
- Written by Sina Salek
- http://sina.salek.ws
-
- Requirements: Drupal 5.x
-
-
-
- --- INSTALLATION --------------------------------------------------------
-
- 1. Install this module, if you don't know how to do it , read this : http://drupal.org/node/70151
-
- 2. Add the following code at the begining of the format_date() function in /includes/common.inc
- or run the patch file located in patches/ folder in module's folder. if you don't know how to apply a patch,
- there is a very good tutorial here http://drupal.org/patch/apply
-
- // Custom hook
- foreach (module_implements('format_date') AS $module) {
- if ($module!='date') {
- $function = $module .'_format_date';
- $r=$function($timestamp, $type , $format , $timezone);
-
- if ($r!=false) {
- return $r;
- }
- }
- }
-
- 3. Enable "Calendar Systems" under Administer > Site building > Modules.
-
- 4. Install & Enable i18n module : http://drupal.org/project/i18n
-
- 5. Add farsi as new language
-
- 6. Change interface's language to farsi(fa), you should be able to see date(s) in Iranian format
-
- --- Support --------------------------------------------------------
-
- Found a bug? report it here http://drupal.org/node/add/project-issue/calendar_systems
-
- --- CHANGELOG --------------------------------------------------------
-
- 0.4, 2009-Aug-14
- ----------------------
- - Fixing fatal error when the cache is empty
-
- 0.4, 2009-Aug-13
- ----------------------
- - Fixing encoding issue in iranian calendar
-
- 0.3, 2009-Aug-13
- ----------------------
- - Fixing error in .info file
-
- 0.2, 2009-Aug-13
- ----------------------
-
- - Fixing incompatibility with date module
- - Adding require patch as file and also updating in readme
- - Production release
-
- 0.1, 2008-Jan-26
- ----------------------
-
- - Initial 0.1 release