Skip to content

Commit

Permalink
In "Upcoming Office Hours", use the occurrence date, not the start date.
Browse files Browse the repository at this point in the history
occurrence.event.start is the start of the recurrence *series*.  We want the
current individual event, which is occurrence.start.
  • Loading branch information
apenwarr committed Nov 28, 2010
1 parent 4a64cb8 commit 20fecdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/upcoming_office_hour.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
{% with office_hour.event.creator as user %}
<h3><a href="{% url view_profile user.username %}"><em>{{ user.username }}</em></a></h3>
<p>From {{ office_hour.event.start }} to {{ office_hour.event.end }}</p>
<p>From {{ office_hour.start }} to {{ office_hour.end }}</p>
<ul class="skill"><li>{{ user.get_profile.skills.all|join:"</li><li>" }}</li></ul>
{% endwith %}
</div>
Expand Down

0 comments on commit 20fecdf

Please sign in to comment.