Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello,
    if you want, try this fix below. It’s working for me. You should add bold lines to format_timestamp function in /wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php

    	/**
    * Format the timestamp with timeZone to display exact month as per the diffrent timezone.
    *
    * @since 3.4.3
    */
    public function format_timestamp($timestamp, $format = 'F')
    {

    $datetime = new \DateTime();
    $datetime->setTimezone(new \DateTimeZone($this->calendar->timezone));
    $datetime->setTimestamp($timestamp);
    //pysiek beg
    global $month;
    if ($format === 'F' ) { //pysiek
    $formatted_date = $month[$datetime->format('m')];
    } else {
    //pysiek end

    $formatted_date = $datetime->format($format);
    } //pysiek
    return $formatted_date;
    }

    Best regards,
    Pysiek

Viewing 1 replies (of 1 total)