This module provides the Date formater option that enables the year in a date to be displayed as Japanese era name. For example the year 2012 is the 24th year of the Heisei era and this module provides an option that would display it as "平成24".
Features
Introduces the "E" option to be used inside the Format string when creating a new Date and Time format (Configuration > Regional and language > Date and time > Formats, or visit /admin/config/regional/date-time/formats)
When displaying the date the "E" part outputs the Japanese era name in Japanese alphabet followed by the year number within the era, for example the year 2012 would be displayed as "平成24"
Japanese era names are configurable in this module settings (Configuration > Date API >
Japanese Era, or visit /admin/config/date/japanese_era). Several eras are already set and come with the module but can be changed, and new eras can be added.
It only works on Date fields so far, because it depends on Date API, so it's not recommended to use it in the built-in Date types Long, Medium and Short (so you don't get malformatted "Submitted by" text or similar non-field dates). Instead create a new Date type to use with the format that has the "E" option.