I would like to override format_date() from common.inc in my template.php. I, however, just found out that this function is not themeable (http://api.drupal.org/api/group/themeable); please correct me if I am wrong.

I want to make a date format in Thai calendar which is 543 years greater than the Gregorian calendar (i.e. 2009 is 2552 in Thai calendar). I was wondering what is the best way to work around this issue without hacking the core. Any recommend would be appreciate.

Comments

mm167’s picture

there are 2 issues, the data value and format

data value:
1. year 2009 = 2552, how about month, day?

format
2009/01/02 may be Jan 2nd, or Feb 1st
How is the Thai format?

manop’s picture

The month and day are the same as those in Gregorian. The format used is dd-mm-yy