Plugin Directory

Changeset 2131491


Ignore:
Timestamp:
07/31/2019 02:29:27 PM (7 years ago)
Author:
calj
Message:

Friday dates components.
Secular month names.

Location:
calj/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • calj/trunk/calj.php

    r2130938 r2131491  
    66 * Plugin URI: https://calj.net
    77 * Description: Add the Shabbat times on your site.
    8  * Version: 1.2
     8 * Version: 1.2.1
    99 * Author: Gabriel Zerbib <gabriel@calj.net>
    1010 * Author URI: https://calj.net
  • calj/trunk/readme.txt

    r2130938 r2131491  
    3232
    3333* `[caljshabbat val="city.name"]`
    34 
    3534  Prints the name of the location for which you are showing the times. You may configure the city on the CalJ API configuration page.
    3635
    3736* `[caljshabbat val="shabbat.parasha"]`
    38 
    3937  Prints the name of the current week's Parasha.
    4038
    4139* `[caljshabbat val="shabbat.parasha" lang="he"]`
    42 
    4340  Prints the name of the current week's Parasha in Hebrew.
     41  Available languages are: `en`, `fr`, `he`, `ru`.
    4442
    4543* `[caljshabbat val="shabbat.begins"]`
     44  Prints the candle-lighting time for the forthcoming Shabbat, in 24-hour format (example: `18:41`).
    4645
    47   Prints the candle-lighting time for the forthcoming Shabbat, in 24-hour format.
     46* `[caljshabbat val="shabbat.beginsHour12"]`
     47  Prints the hour of candle-lighting time, in 12-hour format (example: `6`).
     48
     49* `[caljshabbat val="shabbat.beginsHour24"]`
     50  Prints the hour of candle-lighting time, in 12-hour format (example: `18`).
     51
     52* `[caljshabbat val="shabbat.beginsMinute"]`
     53  Prints the minute of candle-lighting time (example: `41`).
    4854
    4955* `[caljshabbat val="shabbat.ends"]`
    50 
    5156  Prints the end of shabbat, in 24-hour format.
     57  Note that you can use `endsHour12`, `endsHour24` and `endsMinute` too.
    5258
    5359* `[caljshabbat val="shabbat.day"]`
    54 
    5560  Prints the day of month (secular) of Shabbat.
    5661
    5762* `[caljshabbat val="shabbat.month"]`
    58 
    5963  Prints the month number (secular) of Shabbat.
    6064
     65* `[caljshabbat val="shabbat.monthName" lang="fr"]`
     66  Prints the name of the secular month of Saturday, in specified language (example: `août`).
     67  Available languages are: `en`, `fr`, `he`, `ru`.
     68
    6169* `[caljshabbat val="shabbat.year"]`
    62 
    6370  Prints the year (secular) of Shabbat.
    6471
     72* `[caljshabbat val="shabbat.fridayDay"]`
     73  Prints the day of month (secular) of Friday.
     74
     75* `[caljshabbat val="shabbat.fridayMonth"]`
     76  Prints the month number (secular) of Friday.
     77
     78* `[caljshabbat val="shabbat.fridayMonthName" lang="en"]`
     79  Prints the name of the secular month of Friday, in specified language (example: `July`).
     80  Available languages are: `en`, `fr`, `he`, `ru`.
     81
     82* `[caljshabbat val="shabbat.fridayYear"]`
     83  Prints the year (secular) of Friday.
     84
    6585* `[caljshabbat val="shabbat.jday"]`
    66 
    6786  Prints the day of month (Jewish) of Shabbat.
    6887
    6988* `[caljshabbat val="shabbat.jmonthName"]`
    70 
    7189  Prints the name of the Jewish month of Shabbat.
    7290
    7391* `[caljshabbat val="shabbat.jmonthName" lang="ru"]`
    74 
    7592  Prints the name of the Jewish month of Shabbat in Russian.
     93  Available languages are: `en`, `fr`, `he`, `ru`.
    7694
    7795* `[caljshabbat val="shabbat.jyear"]`
    78 
    7996  Prints the Jewish year of Shabbat.
    8097
    8198* `[caljshabbat val="dafyomi.string"]`
    82 
    8399  Prints the Daf Yomi of the current day.
    84100
     
    90106
    91107== Changelog ==
     108
     109= 1.2.1 =
     110Secular month names.
     111Date elements for the upcoming Friday.
    92112
    93113= 1.2 =
Note: See TracChangeset for help on using the changeset viewer.