Changeset 2294118
- Timestamp:
- 04/29/2020 06:35:46 AM (6 years ago)
- Location:
- lich-van-nien/trunk
- Files:
-
- 1 added
- 3 edited
-
LVN_Convert_Date.php (added)
-
LVN_Lunar.php (modified) (3 diffs)
-
calendar-lunar.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lich-van-nien/trunk/LVN_Lunar.php
r2119992 r2294118 8 8 if ( ! class_exists( 'LVN_Lunar' ) ) { 9 9 class LVN_Lunar { 10 10 protected $convert; 11 11 // Init function construct 12 12 function __construct() { 13 $convert = new LVN_Convert_Date(); 14 $this->convert = $convert; 13 15 $this->init(); 14 16 } … … 652 654 } 653 655 654 return $this-> find_lunar_date( $jd, $lunar_year);656 return $this->convert->convert_solar_to_lunar($day,$month,$year); 655 657 } 656 658 … … 916 918 } else { 917 919 $solar = $k - $empty_cell + 1; 918 $ld1 = $ current_month[ $k - $empty_cell ];920 $ld1 = $this->convert->convert_solar_to_lunar($solar,$month,$year); 919 921 $result .= $this->print_cell( $ld1, $solar, $month, $year ); 920 922 } -
lich-van-nien/trunk/calendar-lunar.php
r2119992 r2294118 32 32 add_action( 'wp_enqueue_scripts', 'lvn_load_script' ); 33 33 } 34 34 require LVN_DIR. 'LVN_Convert_Date.php'; 35 35 require LVN_DIR . 'LVN_Lunar_Date.php'; 36 36 require LVN_DIR . 'LVN_Lunar.php'; -
lich-van-nien/trunk/readme.txt
r2119992 r2294118 5 5 Tested up to: 5.2 6 6 Requires PHP: 7.0 7 Stable tag: 1. 37 Stable tag: 1.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 51 51 52 52 == Changelog == 53 = 1.4 = 54 * Release date 20 April 2019* 55 56 * Sửa lỗi hiển thị sai ngày âm trên lịch một số tháng 53 57 54 58 = 1.3 =
Note: See TracChangeset
for help on using the changeset viewer.