Merge branch 'master' into funding
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Fri, 26 Apr 2013 14:29:40 +0000 (16:29 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Fri, 26 Apr 2013 14:29:40 +0000 (16:29 +0200)
1  2 
apps/wolnelektury_core/views.py
requirements.txt
wolnelektury/settings/__init__.py

@@@ -90,11 -89,12 +89,12 @@@ def logout_then_redirect(request)
      return HttpResponseRedirect(urlquote_plus(request.GET.get('next', '/'), safe='/?='))
  
  
+ @never_cache
  def clock(request):
 -    """ Provides server time for jquery.countdown,
 +    """ Provides server UTC time for jquery.countdown,
      in a format suitable for Date.parse()
      """
 -    return HttpResponse(datetime.now().strftime('%Y/%m/%d %H:%M:%S'))
 +    return HttpResponse(datetime.utcnow().strftime('%Y/%m/%d %H:%M:%S UTC'))
  
  
  def publish_plan(request):
Simple merge
Simple merge