ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

problem about the display of a calendar

October 16, 2010 2:12pm

Subscribe [5]
  • #1 / Oct 16, 2010 2:12pm

    Hi,
    I have set “Localization Settings > Server Time Zone” as “(UTC +9:00) Japan Standard Time, Korea Standard Time, Yakutsk Time”.
    Then, the calendar’s display of ‘today’ and ‘entry date’ progress from my server time for 9 hours.
    Is this a bug?
    It become a normal display if it hucks as follows.

    expressionengine > modules > channel > mod.channel_calendar.php
    line 617

                  $d = date(‘d’, $this->EE->localize->set_localized_time($row[‘entry_date’] - 32400));

    line 650

          $today = getdate($this->EE->localize->set_localized_time($this->EE->localize->now - 32400));

    Is there any method without huck?
    Please let me know.

    sakana
    under use EE v2.1.0 Build:20100810

  • #2 / Oct 17, 2010 3:19pm

    Greg Salt

    3988 posts

    Hi sakana,

    Which timezone is your server itself set to (you can ask your hosts for help with that)?

    Cheers

    Greg

  • #3 / Oct 18, 2010 2:42am

    Hi Greg, thank you for your reply.
    My server is a home server in Japan. Therefore the timezone is set to the japanese standard time (UTC +9:00).

    sakana

  • #4 / Oct 18, 2010 3:42am

    John Henry Donovan

    12339 posts

    sakana,

    If you look under your own Localization settings under your Account reached via the Control Panel link in the sidebar. What do you have set here?

    On the same page click Member Preferences on the left hand menu. Is Use this member’s localization settings as the master site default? ticked or not?

  • #5 / Oct 18, 2010 3:56am

    Hi, John.

    If you look under your own Localization settings under your Account reached via the Control Panel link in the sidebar. What do you have set here?

    I set it as “(UTC +9:00) Japan Standard Time, Korea Standard Time, Yakutsk Time”.

    On the same page click Member Preferences on the left hand menu. Is Use this member’s localization settings as the master site default? ticked or not?

    It’s “not”.
    Thanks.

  • #6 / Oct 18, 2010 8:08am

    Sue Crocker

    26054 posts

    Can you change it to be checked?

    Have you edited these events at all?

  • #7 / Oct 18, 2010 8:53am

    Hi, Sue.

    Can you change it to be checked?

    I checked it. But the problem is unsolvable.

    Have you edited these events at all?

    No, I have not done.

    Thanks.

    sakana

  • #8 / Oct 18, 2010 10:18am

    Sue Crocker

    26054 posts

    There are a number of date/time issues going on in EE 2.1. Most have to do with DST. If you have a workaround that works for you - even though it is a hack - I’d say stay with it until 2.11 is released. (Ordinarily I don’t like having to use hacks.)

  • #9 / Oct 18, 2010 10:25am

    I understand. I wait for the release of EE 2.11 to pleasure.
    Thanks.

    sakana

  • #10 / Oct 18, 2010 3:26pm

    Ingmar

    29245 posts

    Sounds good. Closing this one for now, please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases