From 3e83f67dd0f3e16631207596f849e0977aa6d020 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Thu, 8 Nov 2012 22:22:09 +0100 Subject: Cosmetic changes --- schema.sql | 4 ++-- templates/news/list.html | 2 +- templates/news/show.html | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schema.sql b/schema.sql index cda7bc3..18ee95c 100644 --- a/schema.sql +++ b/schema.sql @@ -9,7 +9,7 @@ drop table if exists news; create table news ( id integer primary key autoincrement, title string not null, - date string default (strftime('%Y-%m-%dT%H:%M:%S','now')), + date string default (strftime('%Y-%m-%dT%H:%M:%SZ','now')), content string not null, content_cache string not null, user_id integer, @@ -19,7 +19,7 @@ create table news ( drop table if exists comments; create table comments ( id integer primary key autoincrement, - date string default (strftime('%Y-%m-%dT%H:%M:%S','now')), + date string default (strftime('%Y-%m-%dT%H:%M:%SZ','now')), content string not null, content_cache string not null, user_id integer, diff --git a/templates/news/list.html b/templates/news/list.html index b2bee8a..e95abe8 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -17,7 +17,7 @@

Posté par {{ news.user_name }} le {{news.date|format_date}}

- {{news.ncomments|pluralize}}| + {{"Commentaire"|pluralize(news.ncomments)}} | Ajouter un commentaire

diff --git a/templates/news/show.html b/templates/news/show.html index dcc4e4a..4084450 100644 --- a/templates/news/show.html +++ b/templates/news/show.html @@ -4,9 +4,9 @@

Détails

-- cgit v1.2.3-70-g09d2