Plugin Directory

Changeset 357065


Ignore:
Timestamp:
03/08/2011 04:45:42 AM (15 years ago)
Author:
beshkin
Message:

tagging version 1.9.2

Location:
zmanim-widget
Files:
4 edited
14 copied

Legend:

Unmodified
Added
Removed
  • zmanim-widget/tags/1.9.2/hdate/hdate.php

    r330905 r357065  
    2121
    2222$resultStr = date_sunset($ts_start, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+50/60, $shoffset);
     23
    2324list($resultHour, $resultMin) = split(':', $resultStr);
    2425$resultHour += $timediff_end;
    2526$resultMin -= 18;
    2627
    27 while ($resultMin < 0) {
     28if ($resultMin < 0) {
    2829  $resultMin += 60;
    2930  $resultHour--;
     
    8485if ( strlen($resultMin) < 2 && $resultMin == 0) $resultMin=$resultMin.'0';
    8586if ( strlen($resultMin) < 2 && $resultMin > 0) $resultMin='0'.$resultMin;
    86 if ( strlen($resultMin_end) < 2 && $resultMin_end == 0) $resultMin=$resultMin_end.'0';
    87 if ( strlen($resultMin_end) < 2 && $resultMin_end > 0) $resultMin='0'.$resultMin_end;
     87if ( strlen($resultMin_end) < 2 && $resultMin_end == 0) $resultMin_end=$resultMin_end.'0';
     88if ( strlen($resultMin_end) < 2 && $resultMin_end > 0) $resultMin_end='0'.$resultMin_end;
    8889
    8990if ($weekday == 6 && "$currentHour$currentMin" < "$resultHour_end$resultMin_end") $nday=translate_z('Shabbat',$data['accent']);
  • zmanim-widget/tags/1.9.2/hdate/today.php

    r297504 r357065  
    7878if ($hebrew) print ' :'.translate_z('Netz','hebrew');
    7979'</li>';
    80 list($hour,$min) = explode(':',date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+$zman_tallit, $shoffset));
     80list($hour,$min) = explode(':',date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+$zman_tallit, $shoffset)); //zman_tallit = 11 by default
    8181$time_2 = date($time_format, $ts_zero+($hour*3600)+($min*60));
    8282print '<li>'.__("Earliest","zmanim").' '.translate_z('Tallit',$data['accent']).': '.$time_2;
  • zmanim-widget/tags/1.9.2/readme.txt

    r330905 r357065  
    44Requires at least: 2.7
    55Tested up from : 3.0
    6 Stable tag: 1.9.1
     6Stable tag: 1.9.2
    77
    88Displays Jewish calendar information in a widget.
     
    2424
    2525== Changelog ==
     26= 1.9.2 =
     27- fixed wrong time for Shabbat candle lighting
    2628= 1.9.1 =
    2729- removed debugging message
  • zmanim-widget/tags/1.9.2/zmanim-widget.php

    r330905 r357065  
    44 Plugin URI: http://kosherdev.com/category/zmanim-widget/
    55 Description: Allows to turn off the Wordpress site, while Shabat of High Holidays are going on in your area.
    6  Version: 1.9.1
     6 Version: 1.9.2
    77 Author: Misha Beshkin
    88 Author URI: http://misha.beshkin.lv/
  • zmanim-widget/trunk/hdate/hdate.php

    r330905 r357065  
    2121
    2222$resultStr = date_sunset($ts_start, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+50/60, $shoffset);
     23
    2324list($resultHour, $resultMin) = split(':', $resultStr);
    2425$resultHour += $timediff_end;
    2526$resultMin -= 18;
    2627
    27 while ($resultMin < 0) {
     28if ($resultMin < 0) {
    2829  $resultMin += 60;
    2930  $resultHour--;
     
    8485if ( strlen($resultMin) < 2 && $resultMin == 0) $resultMin=$resultMin.'0';
    8586if ( strlen($resultMin) < 2 && $resultMin > 0) $resultMin='0'.$resultMin;
    86 if ( strlen($resultMin_end) < 2 && $resultMin_end == 0) $resultMin=$resultMin_end.'0';
    87 if ( strlen($resultMin_end) < 2 && $resultMin_end > 0) $resultMin='0'.$resultMin_end;
     87if ( strlen($resultMin_end) < 2 && $resultMin_end == 0) $resultMin_end=$resultMin_end.'0';
     88if ( strlen($resultMin_end) < 2 && $resultMin_end > 0) $resultMin_end='0'.$resultMin_end;
    8889
    8990if ($weekday == 6 && "$currentHour$currentMin" < "$resultHour_end$resultMin_end") $nday=translate_z('Shabbat',$data['accent']);
  • zmanim-widget/trunk/hdate/today.php

    r297504 r357065  
    7878if ($hebrew) print ' :'.translate_z('Netz','hebrew');
    7979'</li>';
    80 list($hour,$min) = explode(':',date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+$zman_tallit, $shoffset));
     80list($hour,$min) = explode(':',date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+$zman_tallit, $shoffset)); //zman_tallit = 11 by default
    8181$time_2 = date($time_format, $ts_zero+($hour*3600)+($min*60));
    8282print '<li>'.__("Earliest","zmanim").' '.translate_z('Tallit',$data['accent']).': '.$time_2;
  • zmanim-widget/trunk/readme.txt

    r330905 r357065  
    44Requires at least: 2.7
    55Tested up from : 3.0
    6 Stable tag: 1.9.1
     6Stable tag: 1.9.2
    77
    88Displays Jewish calendar information in a widget.
     
    2424
    2525== Changelog ==
     26= 1.9.2 =
     27- fixed wrong time for Shabbat candle lighting
    2628= 1.9.1 =
    2729- removed debugging message
  • zmanim-widget/trunk/zmanim-widget.php

    r330905 r357065  
    44 Plugin URI: http://kosherdev.com/category/zmanim-widget/
    55 Description: Allows to turn off the Wordpress site, while Shabat of High Holidays are going on in your area.
    6  Version: 1.9.1
     6 Version: 1.9.2
    77 Author: Misha Beshkin
    88 Author URI: http://misha.beshkin.lv/
Note: See TracChangeset for help on using the changeset viewer.