Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla Timestamp Issue.

edited October 2010 in Vanilla 2.0 - 2.8
I found out an issue showing timestamp values for user activities. This happens here in vanilla forum as well as in my deployment.
I am writing a post at Oct 04, 2010 - 3:49PM IST. Now instead of actual date it shows time 30mins before. Now in my case it would be 3.20PM

Comments

  • sushilkar 3:22PM Permalink QuoteEditFlag
    Posts: 4

    This was the post time details showing for this post.
  • edited October 2010
    3:50pm Monday (IST) - this is the current time in IST. I think back end all the time zone are in EST/EDT and time conversion is not happening for people based on their region.

    Quite a noticeable bug for Forum application any insight to this.
  • edited October 2010
    You don't say which version of vanilla you are using and any plugins tht may be significant.
    Your posts here are showing up as UTC+5 (ie Pakistan time zone) sometimes posts on a webpage appear with a correctly converted time but sql database is running in a different timezone, depends on your hosting companies policy and does NOT change with DST changes, which I understand India does not use. The half-hour off timezones can cause confusion working out time in the rest of the world.
    posted at 13:26 MyLocalTime
  • I am using, 2.0.9 Previous to the latest. I am not in GMT+5, I am in GMT+5:30. See here are m posting now at 7:48IST(UTC+5:30)
  • mysql> select now()
    -> ;
    +---------------------+
    | now() |
    +---------------------+
    | 2010-10-04 19:52:29 |
    +---------------------+
    1 row in set (0.00 sec)


    <?php
    $curr_time_zone=date_default_timezone_get();
    echo "<br> Current Zone : " .$curr_time_zone . date('r');
    ?>

    Output from above php code
    ------------------------
    Current Zone : Asia/CalcuttaMon, 04 Oct 2010 19:52:16 +0530

    See my this post date in this forum itself. Apparently am having same problem.
  • Any ray of hope?
  • I just did a time zone change, It worked for me. And since my forum is not international for time being i can keep my worries away.
  • hell,new member
Sign In or Register to comment.