Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Advanced search notes that dates are in UTC timezone. Fixes #71

  • Loading branch information...
commit cd39573d76a394c2350de4b53cad0a72ef1c3b4b 1 parent bd819a2
@palewire palewire authored
View
1  archive/managers.py
@@ -1,5 +1,6 @@
from django.db import models
from django.utils import timezone
+from django.db.models import Count
class SiteManager(models.Manager):
View
1  archive/templates/advanced_search.html
@@ -59,6 +59,7 @@
onFocus="if (this.value === 'YYYY/MM/DD') {this.value = '';}"
value="{% if end_date %}{{ end_date|date:"Y/m/d" }}{% else %}YYYY/MM/DD{% endif %}" />
</li>
+ <li><small>Dates begin and end according to the <a href="http://en.wikipedia.org/wiki/Coordinated_Universal_Time">UTC time zone</a>.</small></li>
</ul>
<input type="submit" value="Submit" />
</fieldset>
View
3  project/templates/static/css/styles.css
@@ -11,6 +11,9 @@
a:active {
color: red;
}
+ small {
+ font-size:11px;
+ }
div#ribbon {
height:36px;
line-height:36px;
Please sign in to comment.
Something went wrong with that request. Please try again.