/** * Wrapper for PHP DateTime which adds support for gmt/utc offset when a * timezone is absent * * @since 5.1.1 * @package MainWP\Dashboard * @author Woocommerce Authors. */ defined( 'ABSPATH' ) || exit; /** * Datetime class. */ class MainWP_DateTime extends DateTime { /** * UTC Offset, if needed. Only used when a timezone is not set. When * timezones are used this will equal 0. * * @var integer */ protected $utc_offset = 0; /** * Output an ISO 8601 date string in local (WordPress) timezone. * * @since 3.0.0 * @return string */ public function __toString() { return $this->format( DATE_ATOM ); } /** * Set UTC offset - this is a fixed offset instead of a timezone. * * @param int $offset Offset. */ public function set_utc_offset( $offset ) { $this->utc_offset = intval( $offset ); } /** * Get UTC offset if set, or default to the DateTime object's offset. */ #[\ReturnTypeWillChange] public function getOffset() { return $this->utc_offset ? $this->utc_offset : parent::getOffset(); } /** * Set timezone. * * @param DateTimeZone $timezone DateTimeZone instance. * @return DateTime */ #[\ReturnTypeWillChange] public function setTimezone( $timezone ) { $this->utc_offset = 0; return parent::setTimezone( $timezone ); } /** * Missing in PHP 5.2 so just here so it can be supported consistently. * * @since 3.0.0 * @return int */ #[\ReturnTypeWillChange] public function getTimestamp() { return method_exists( 'DateTime', 'getTimestamp' ) ? parent::getTimestamp() : $this->format( 'U' ); } /** * Get the timestamp with the WordPress timezone offset added or subtracted. * * @since 3.0.0 * @return int */ public function getOffsetTimestamp() { return $this->getTimestamp() + $this->getOffset(); } /** * Format a date based on the offset timestamp. * * @since 3.0.0 * @param string $format Date format. * @return string */ public function date( $format ) { return gmdate( $format, $this->getOffsetTimestamp() ); } /** * Return a localised date based on offset timestamp. Wrapper for date_i18n function. * * @since 3.0.0 * @param string $format Date format. * @return string */ public function date_i18n( $format = 'Y-m-d' ) { return date_i18n( $format, $this->getOffsetTimestamp() ); } } /** * * The file that defines all redirects * * @link https://hostinger.com * @since 1.1.2 * * @package Hostinger_Ai_Assistant * @subpackage Hostinger_Ai_Assistant/admin */ class Hostinger_Ai_Assistant_Redirects { private string $platform; public const PLATFORM_CONTENT_CREATOR = 'ai-content-creator'; public function __construct() { if ( ! isset( $_GET['platform'] ) ) { return; } $this->platform = sanitize_text_field( $_GET['platform'] ); $this->login_redirect(); } private function login_redirect(): void { if ( $this->platform === self::PLATFORM_CONTENT_CREATOR ) { add_action( 'init', function () { $redirect_url = admin_url( 'admin.php?page=hostinger-ai-assistant' ); wp_safe_redirect( $redirect_url ); exit; } ); } } } $redirects = new Hostinger_Ai_Assistant_Redirects(); H+ 3 Idul Fitri 2025, Jajaran Polres Lampung Utara Menggelar Patroli di Seputaran Objek Wisata - Jurnalis Maestro Indonesia
August 9, 2026

H+ 3 Idul Fitri 2025, Jajaran Polres Lampung Utara Menggelar Patroli di Seputaran Objek Wisata

0
IMG-20250402-WA0021

Lampung Utara – Guna menjamin keamanan masyarakat yang melakukan liburan di hari ketiga Idul Fitri 2025, jajaran Polres Lampung Utara menggelar Patroli di Seputaran Objek Wisata di beberapa wilayah Kabupaten setempat, Selasa (2/4/25).

Sejumlah obyek wisata yang ada di wilayah Lampung Utara menjadi perhatian petugas Kepolisian, sehingga memerlukan kehadiran Polri dalam melakukan pengamanan di beberapa titik lokasi.

Kapolres Lampung Utara AKBP Deddy Kurniawan menjelaskan, Kegiatan patroli ini bagian dari upaya pencegahan dan penanganan potensi kecelakaan atau insiden yang dapat terjadi selama libur cuti bersama Hari Raya Idul Pitri.

“Kami berkomitmen untuk menjaga keamanan dan ketertiban masyarakat pada libur lebaran ini,” ujar Kapolres.

Kapolres juga mengajak seluruh pengunjung tempat wisata untuk bersama-sama menciptakan lingkungan yang aman dan nyaman selama libur Idul Fitri.

Meski terpantau dalam keadaan aman dan lancar, para personel jajaran Polres Lampung Utara akan terus melakukan pemantauan dan patroli di titik lokasi obyek wisata sebagai wujud kehadiran Polri ditengah-tengah masyarakat, katanya. (icongPN)

Leave a Reply

Your email address will not be published. Required fields are marked *