Local Calendar

Developer

Biber Ltd. - Can Berkol

3rd Party (Commercial)


EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Fieldtype, Plugin

Tags

LocalCalendar fieldtype is datepicker plugin that currently supports a datepicker for both Gregorian and Hijri calendars. The fieldtype also supports conversions of dates of the two calendar types. The plugin provides the same conversion functionalities. Out of the box, LocalCalendar does support Arabic, English, and Turkish languages and it provides integration with our Multi Language Support Extension.

LocalCalendar fieldtype is datepicker plugin that currently supports a datepicker for both Gregorian and Hijri calendars. The fieldtype also supports conversions of dates of the two calendar types. The plugin provides the same conversion functionalities.

Out of the box, LocalCalendar does support Arabic, English, and Turkish languages and it provides integration with our Multi Language Support Extension.

Installation

     
  1. Unzip the package.
  2.  
  3. Upload the folders named bbr_locacalendar to the correct locations as mapped within the package.
  4.  
  5. Login to EE control panel.
  6.  
  7. Go to Add-ons > Fieldtypes.
  8.  
  9. Click on Install.

Fieldtype

{custom_date_field to="gregorian" format="%d-%M-%y" lang="arabic"}

Options:
to: defines the calendar type that the date will be converted to. Accepts gregorian and hijri.

lang: defines the output language for semantic values. Accepts arabic, english, turkish.
You can add new languages by creating new subfolders named after languages within the application’s folder.

format: mimics native EE format parameter. It formats the output of date field.

    Second:
    %s     seconds       00 to 59
    %U     seconds       since the epoch
   
    Minutes:
    %i     minutes       00 to 59
   
    Hours:
    %g     hour         12-hour format without leading zeros
    %G     hour         24-hour format without leading zeros
    %h     hour         12-hour format with leading zeros
    %H     hour         24-hour format with leading zeros
   
    AM/PM
    %a     am/pm
    %A     AM/PM
   
    Day
    %d     day         of the month, 2 digits with leading zeros
    %D     day         of the week, textual, 3 letters
    %j     day         of the month without leading zeros
    %l     day         of the week, textual, long (lowercase L)
    %w     day         of the week, numeric
   
    Week
    %W     week         number of year, weeks starting on Monday (ISO-8601)
   
    Month
    %m     month       00 to 12
    %M     month       textual, three letters
    %F     month       textual, long
    %n     month       1 to 12
    %t     days         in given month (number) 28 to 31
   
    Year
    %L     boolean       0 for no leap year, 1 for leap year
    %y     year         2 digits
    %Y     year         4 digits
    %z     day         of the year 0 to 365
   
    Other
    %B     Swatch Internet Time
    %I     Daylight saving time 1 if yes, 0 otherwise (capital i)
    %O     Local time zone offset, in hours and seconds, against GMT
    %r     RFC 822 formatting     Ã���Ã�¯Ã�¿Ã�½Ã���Ã��Ã�¢Ã���Ã��Ã�¯Ã���Ã��Ã�¿Ã���Ã��Ã�½Ã���Ã��Ã�¯Ã���Ã��Ã�¿Ã���Ã��Ã�½Thu, 21 Dec 2000 16:01:07 +0200Ã���Ã�¯Ã�¿Ã�½Ã���Ã��Ã�¢Ã���Ã��Ã�¯Ã���Ã��Ã�¿Ã���Ã��Ã�½Ã���Ã��Ã�¯Ã���Ã��Ã�¿Ã���Ã��Ã�½
    %S     English ordinal suffix, 2 charecters th, nd etc.
    %T     Time zone setting of this machine
    %Z     Time zone offset in seconds. -43200 to 43200
   
    CONSTANTS
   
    {DATE_ATOM}          %Y-%m-%dT%H:%i:%s%Q
    {DATE_COOKIE}      %l, %d-%M-%y %H:%i:%s UTC
    {DATE_ISO8601}      %Y-%m-%dT%H:%i:%s%Q
    {DATE_RFC822}      %D, %d %M %y %H:%i:%s %O
    {DATE_RFC850}      %l, %d-%M-%y %H:%m:%i UTC
    {DATE_RFC1036}    %D, %d %M %y %H:%i:%s %O
    {DATE_RFC1123}    %D, %d %M %Y %H:%i:%s %O
    {DATE_RFC2822}    %D, %d %M %Y %H:%i:%s %O
    {DATE_RSS}              %D, %d %M %Y %H:%i:%s %O
    {DATE_W3C}            %Y-%m-%dT%H:%i:%s%Q

Plugin:


{exp:bbr_localcalendar date="2012-01-23" from="gregorian" to="hijri" format_out="%D %M %Y" lang="arabic"}
    
    {exp:bbr_localcalendar date="2012-01-23" from="gregorian" to="hijri" format_out="{DATE_ATOM}" lang="english"}

Parameters:

     
  • from
    gregorian, hijri
    Defines the calendar type of the input date.
  •  
  • to
    gregorian, hijri
    Defines the calendar type of the output date.
  •  
  • date
    date in Y-m-d format. i.e. 2009-03-25
  •  
  • format_out
    see fieldtype description.
    Defines the format of the output.

Road Map

     
  • Matrix Compatibility
  •  
  • Hebrew Calendar Support

This entry was created January 26, 2012, 10:30 am.
This entry was last updated February 17, 2014, 10:05 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!