This is an amharic language enabled jquery calendar plugin datepicker, originaly extended and localized from
keith-wood.name
# Amharic Datepicker Calendar
This is an amharic language enabled jquery calendar plugin datepicker, originaly extended and localized from
keith-wood.name by Arefat Hyeredin
This plugin was originaly built using Keithwood Calendars.
###### Geez Numeral
In order to use the calendar with geez (amharic) numerals, use the branched v2 geez patch, by using a deprecated regular expression mapping of the Amharic Number System.
*** Localized and Language referencd by Arefat Hyeredin. ***
## Language
Can enable and disable amharic language localization by removing:
```
'am' from the line, it will result english writings of the amharic months and years.
var calendar = $.calendars.instance('ethiopian','am');
change to
var calendar = $.calendars.instance('ethiopian');
```
Include all necessary files:
```
```
## Theme
Can change the image and color theme by changing the css:
```
```
## Numeral Localization using Regualar Expression Encoding
```
string_value = string_value.replace(new RegExp(0, 'gm'), '');
string_value = string_value.replace(new RegExp(1, 'gm'), '፩');
string_value = string_value.replace(new RegExp(2, 'gm'), '፪');
string_value = string_value.replace(new RegExp(3, 'gm'), '፫');
string_value = string_value.replace(new RegExp(4, 'gm'), '፬');
string_value = string_value.replace(new RegExp(5, 'gm'), '፭');
string_value = string_value.replace(new RegExp(6, 'gm'), '፮');
string_value = string_value.replace(new RegExp(7, 'gm'), '፯');
string_value = string_value.replace(new RegExp(8, 'gm'), '፰');
string_value = string_value.replace(new RegExp(9, 'gm'), '፱');
// Other mappings for the months and the years included with different flags.
Flags
g => global. All matches (don't return on the first match).
m => multi-line. Causes ^ & $ to match the begin/end of each line (not only begin/end of string).
i => insensitive. Case insensitive match (ignores case of [a-zA-Z]).
u => unicode : Pattern strings are treated as UTF-16. Also causes escape …