Changeset 3364534
- Timestamp:
- 09/19/2025 12:29:13 PM (6 months ago)
- Location:
- shortcode-for-mobilizeamerica-api
- Files:
-
- 11 added
- 3 edited
-
tags/1.0.13 (added)
-
tags/1.0.13/css (added)
-
tags/1.0.13/css/shortcode-for-mobilizeamerica-api.css (added)
-
tags/1.0.13/includes (added)
-
tags/1.0.13/includes/elementor-widget.php (added)
-
tags/1.0.13/index.php (added)
-
tags/1.0.13/readme.txt (added)
-
tags/1.0.13/sflwa-notice-handler.php (added)
-
tags/1.0.13/shortcode-for-mobilizeamerica-api.php (added)
-
tags/1.0.13/templates (added)
-
tags/1.0.13/templates/event-templates.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shortcode-for-mobilizeamerica-api.php (modified) (2 diffs)
-
trunk/templates/event-templates.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shortcode-for-mobilizeamerica-api/trunk/readme.txt
r3340482 r3364534 4 4 Requires at least: 6.7 5 5 Tested up to: 6.8 6 Stable tag: 1.0.1 26 Stable tag: 1.0.11 7 7 Requires PHP: 8.0 8 8 License: GPLv2 or later … … 90 90 91 91 ## Change Log 92 2025-09-19 v 1.0.13 93 * Fixed Timezone issue for time display - uses WP Timezone vs GMT offset - this was only an issue when a future event was after the Daylight Savings Time Switch 94 92 95 2025-08-06 v1.0.12 93 96 * Added Let us know you've installed plugin alert -
shortcode-for-mobilizeamerica-api/trunk/shortcode-for-mobilizeamerica-api.php
r3340482 r3364534 3 3 * Plugin Name: Shortcode for MobilizeAmerica API 4 4 * Description: Displays events from Mobilize America on your WordPress site. 5 * Version: 1.0.1 25 * Version: 1.0.13 6 6 * Author: South Florida Web Advisors 7 7 * Author URI: https://sflwa.net … … 9 9 * Requires at least: 6.7 10 10 * Tested up to: 6.8 11 * Stable tag: 1.0.1 211 * Stable tag: 1.0.13 12 12 * Text Domain: shortcode-for-mobilizeamerica-api 13 13 */ -
shortcode-for-mobilizeamerica-api/trunk/templates/event-templates.php
r3296486 r3364534 52 52 // Format the timeslot start date and time. 53 53 $event_start_datetime = New DateTime("@".$event['timeslots'][0]['start_date']); 54 $event_start_datetime->setTimeZone( new DateTimeZone(get_option('gmt_offset')));54 $event_start_datetime->setTimeZone(wp_timezone()); 55 55 $event_end_datetime = New DateTime("@".$event['timeslots'][0]['end_date']); 56 $event_end_datetime->setTimeZone( new DateTimeZone(get_option('gmt_offset')));56 $event_end_datetime->setTimeZone(wp_timezone()); 57 57 $event_duration = strtotime($event_end_datetime->format('m/d/Y g:i A')) - strtotime($event_start_datetime->format('m/d/Y g:i A')); 58 58 … … 105 105 // Format the timeslot start date and time. 106 106 $event_start_datetime = New DateTime("@".$event['timeslots'][0]['start_date']); 107 $event_start_datetime->setTimeZone( new DateTimeZone(get_option('gmt_offset')));107 $event_start_datetime->setTimeZone(wp_timezone()); 108 108 $event_end_datetime = New DateTime("@".$event['timeslots'][0]['end_date']); 109 $event_end_datetime->setTimeZone( new DateTimeZone(get_option('gmt_offset')));109 $event_end_datetime->setTimeZone(wp_timezone()); 110 110 $event_duration = strtotime($event_end_datetime->format('m/d/Y g:i A')) - strtotime($event_start_datetime->format('m/d/Y g:i A')); 111 111
Note: See TracChangeset
for help on using the changeset viewer.