https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-05-03T04:27:22ZRedmineRedmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=163692010-05-03T04:27:22Zminkbear minkbear
<ul></ul><p>forgot to fill Affected version: 0.9.3</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=163752010-05-03T08:43:47ZFelix Schäfer
<ul></ul><p>The time rendered in the html views is not the time on the server but the time according to the timezone rails detects from your browser or the timezone you set in your user preferences. As to why there is such a discrepancy, I can't tell you exactly. Could you give us access to your redmine (the html part) so that we can have a look?</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=169452010-05-24T13:00:51ZAvery Chan
<ul><li><strong>File</strong> <a href="/attachments/3827">Google_ChromeScreenSnapz003.jpg</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3827/Google_ChromeScreenSnapz003.jpg">Google_ChromeScreenSnapz003.jpg</a> added</li><li><strong>File</strong> <a href="/attachments/3828">Google_ChromeScreenSnapz005.jpg</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3828/Google_ChromeScreenSnapz005.jpg">Google_ChromeScreenSnapz005.jpg</a> added</li></ul><p>I'm seeing this problem too. I <em>could</em> give you access to the redmine part if I understood better what you need in order to get access to that part. I'm uploading two files to better illustrate the problem. You can see that the screenshot from the activity page shows the date and time as being 5/23/2010. The screenshot from the issue page shows the time as being 5/24/2010 2:40 pm. This was via a mouse-over of the "about 6 hours" link. You can see that this is the same issue; the copied text shows this.</p>
<p>I'm not sure if this is exactly the problem being described here, but it is certainly a defect in the Activity page. This is running Redmine 0.9.4.stable.3733 (MySQL).</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=170092010-05-27T00:04:38Zminkbear minkbear
<ul></ul><p>I tried to print value from 2 variables(date, Date.today) in app/views/projects/activity.rhtml<br />Result:<br />date = 2010-05-26<br />Date.today = 2010-05-26</p>
<p>More information:<br />Server date: Thu May 27 07:02:24 ICT 2010<br />My Time zone Preferences: GMT+7</p>
<p>1. Why is the value in Date.today = 2010-05-26? It should be 2010-05-27.<br />2. It always be wrong date in activity page around 0700 AM.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=189482010-08-04T02:59:50ZAndrew Brock
<ul></ul><p>I've noticed this too but it only happens on the global activity page, not on the group activity pages. "Today" is always set to be the day of the last Redmine activity item.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=225152010-11-17T16:20:21ZAnton Gavrilov
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>Got this problem too. Every morning I get yesterday version of <em>Activity</em> page until any issue is updated. Moreover, when I switched my account's language, every page (or at least <em>Issues</em>, <em>New issue</em> and <em>Gantt</em>) got new language with the only exception - <em>Activity</em>.</p>
<p>It appears the troublemaker is line 26 in app\controllers\activities_controller.rb (Redmine ver. 1.0.3):<br /><pre>if events.empty? || stale?(:etag => [events.first, User.current])</pre><br />My Ruby experience is negligible, but as far as I get it, it blocks rendering new page and instead feeds old version from cache if there is no new events since last rendering. So you'll keep getting the same version of the page with obsolete dates until someone edit any issue. I commented line 26 and 42 (trailing <em>end</em>) and it seems it works.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=226572010-11-24T14:48:14ZFelix Schäfer
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>New</i></li></ul><p>Resolved is limited to commited-to-trunk-but-not-to-stable-yet issues, thank you.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=226642010-11-24T18:09:53ZAnton Gavrilov
<ul></ul><p>How do I commit to trunk? Or commitment is reserved for developers and I should attach patch instead?</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=226682010-11-24T19:30:08ZFelix Schäfer
<ul></ul><p>Anton Gavrilov wrote:</p>
<blockquote>
<p>Or commitment is reserved for developers and I should attach patch instead?</p>
</blockquote>
<p>Yes.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=443972013-01-15T11:00:59ZDaniel Felix
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs feedback</i></li></ul><p>Any news on this? I'm not able to reproduce this in the Redmine 2.2.1.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=453842013-02-07T06:21:36ZPhil Miller
<ul></ul><p>I'm still seeing something of this sort in 2.2.2 - the Activity pages don't update to reflect settings changes, in my case timezone, unless something else forces the page to be regenerated. I experienced this while looking at <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Day grouping on Activity view ignores user's time zone (Closed)" href="https://www.redmine.org/issues/1048">#1048</a>.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=453912013-02-07T10:22:11ZDaniel Felix
<ul></ul><p>Phil Miller wrote:</p>
<blockquote>
<p>I'm still seeing something of this sort in 2.2.2 - the Activity pages don't update to reflect settings changes, in my case timezone, unless something else forces the page to be regenerated. I experienced this while looking at <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Day grouping on Activity view ignores user's time zone (Closed)" href="https://www.redmine.org/issues/1048">#1048</a>.</p>
</blockquote>
<p>Yes, this seem to relate to <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Day grouping on Activity view ignores user's time zone (Closed)" href="https://www.redmine.org/issues/1048">#1048</a>. The timezones won't be respected in every redmine module. This is also a big goal for future redmine versions.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=750192016-12-13T06:05:49ZEwan Makepeace
<ul></ul><p>+1</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=758062017-01-10T12:30:29ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Needs feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Duplicate</i></li></ul><p>I think this is fixed by <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Wrong activity timezone on user page (Closed)" href="https://www.redmine.org/issues/14658">#14658</a>.<br />See <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Activity in User Profile shows incorrect date/time, dependent to Time zone (Closed)" href="https://www.redmine.org/issues/24707">#24707</a> description.</p> Redmine - Defect #5425: Showing date in activity page is wronghttps://www.redmine.org/issues/5425?journal_id=758072017-01-10T12:30:50ZToshi MARUYAMA
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/24707">Defect #24707</a>: Activity in User Profile shows incorrect date/time, dependent to Time zone </i> added</li></ul>