Changeset 3148397
- Timestamp:
- 09/09/2024 05:06:17 AM (18 months ago)
- Location:
- wp-cafe/trunk
- Files:
-
- 4 edited
-
core/modules/reservation/wpc-reservation-report.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
utils/wpc-utilities.php (modified) (1 diff)
-
wpcafe.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-cafe/trunk/core/modules/reservation/wpc-reservation-report.php
r3084054 r3148397 153 153 154 154 if ( $wpc_booking_date !=="" ) { 155 $wpc_booking_date = date_i18n($wpc_date_format, strtotime( $wpc_booking_date ));155 $wpc_booking_date = Wpc_Utilities::get_formatted_date( $wpc_booking_date ); 156 156 } 157 157 -
wp-cafe/trunk/readme.txt
r3125940 r3148397 3 3 Tags: food menu, food ordering, food delivery, restaurant reservations, restaurant menu 4 4 Requires at least: 5.2 5 Tested up to: 6. 5.56 Stable tag: 2.2. 297 Requires PHP: 7. 05 Tested up to: 6.6.1 6 Stable tag: 2.2.30 7 Requires PHP: 7.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 397 397 == Changelog == 398 398 399 = 2.2.30 ( September 8, 2024 ) = 400 401 Fix : Reservation list incorrect date format 402 Fix : Seat capacity functionality improvement 403 399 404 = 2.2.29 ( July 25, 2024 ) = 400 405 -
wp-cafe/trunk/utils/wpc-utilities.php
r3125940 r3148397 1536 1536 return $cache_key; 1537 1537 } 1538 1539 public static function get_formatted_time($timeString){ 1540 $time_format = get_option('time_format'); 1541 $dateTime = \DateTime::createFromFormat($time_format, $timeString); 1542 if ($dateTime) { 1543 $timestamp = $dateTime->getTimestamp(); 1544 return date_i18n($time_format, $timestamp ); 1545 } else { 1546 return $timeString; 1547 } 1548 } 1549 1550 public static function get_formatted_date($dateString){ 1551 $date_format = get_option('date_format'); 1552 $dateTime = \DateTime::createFromFormat($date_format, $dateString); 1553 if ($dateTime) { 1554 $timestamp = $dateTime->getTimestamp(); 1555 return date_i18n($date_format, $timestamp ); 1556 } else { 1557 return $dateString; 1558 } 1559 } 1538 1560 } -
wp-cafe/trunk/wpcafe.php
r3125940 r3148397 9 9 * Plugin URI: https://product.themewinter.com/wpcafe 10 10 * Description: WordPress Restaurant solution plugin to launch Restaurant Websites. 11 * Version: 2.2. 2911 * Version: 2.2.30 12 12 * Author: Themewinter 13 13 * Author URI: http://themewinter.com/ … … 30 30 */ 31 31 static function version() { 32 return '2.2. 29';32 return '2.2.30'; 33 33 } 34 34
Note: See TracChangeset
for help on using the changeset viewer.