Changeset 3202887
- Timestamp:
- 12/05/2024 09:33:58 AM (16 months ago)
- Location:
- occupancy-plan/trunk
- Files:
-
- 3 edited
-
occupancy-plan.php (modified) (2 diffs)
-
public/partials/occupancy-plan-public-display.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
occupancy-plan/trunk/occupancy-plan.php
r3197914 r3202887 16 16 * Plugin URI: https://www.software-kunze.de/plugins/occupancy-plan/ 17 17 * Description: Management of Occupancy Plans 18 * Version: 1.4. 818 * Version: 1.4.9 19 19 * Author: Alexander Kunze Software Consulting 20 20 * Author URI: https://www.software-kunze.de … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define('Occupancy_Plan', '1.4. 8');38 define('Occupancy_Plan', '1.4.9'); 39 39 40 40 /** -
occupancy-plan/trunk/public/partials/occupancy-plan-public-display.php
r3197914 r3202887 62 62 $context->week = $context->date->format("Y") . "-W52"; 63 63 } 64 else if (($context->date->format("W") == "01") && 65 ($context->date->format("Y") != substr($context->week,0,4))) 66 { 67 $context->week = substr($context->week,0,4) . "-W01"; 68 } 64 69 else 65 70 { … … 73 78 $context->date->setISODate(substr($context->week,0,4), substr($context->week,6,2)); 74 79 $context->date->add(new DateInterval('P7D')); 80 75 81 if (($context->date->format("W") == "01") && 76 82 ($context->date->format("Y") == substr($context->week,0,4))) … … 78 84 $context->date->add(new DateInterval('P7D')); 79 85 $context->week = $context->date->format("Y") . "-W01"; 86 } 87 else if (($context->date->format("W") == "52") && 88 ($context->date->format("Y") != substr($context->week,0,4))) 89 { 90 $context->week = substr($context->week,0,4) . "-W52"; 80 91 } 81 92 else -
occupancy-plan/trunk/readme.txt
r3197914 r3202887 5 5 Requires at least: 4.9 6 6 Tested up to: 6.7 7 Stable tag: 1.4. 87 Stable tag: 1.4.9 8 8 Requires PHP: 5.2.4 9 9 License: GPLv2 or later … … 50 50 == Changelog == 51 51 52 = 1.4.9 = 53 * Fix: Previous week logic over the New Year 54 52 55 = 1.4.8 = 53 56 * Fix: Next week logic over the New Year
Note: See TracChangeset
for help on using the changeset viewer.