From: Radek Czajka Date: Tue, 28 Aug 2012 14:07:44 +0000 (+0200) Subject: date format X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/2771fe804080eff6ba2c40684bdf290e646b9cf9?ds=inline;hp=aa36d36d7c9b39220333253d7c3b2a65bb88dd24 date format --- diff --git a/prawokultury/formats/__init__.py b/prawokultury/formats/__init__.py new file mode 100755 index 0000000..e69de29 diff --git a/prawokultury/formats/pl/__init__.py b/prawokultury/formats/pl/__init__.py new file mode 100755 index 0000000..e69de29 diff --git a/prawokultury/formats/pl/formats.py b/prawokultury/formats/pl/formats.py new file mode 100755 index 0000000..7e50a96 --- /dev/null +++ b/prawokultury/formats/pl/formats.py @@ -0,0 +1 @@ +DATETIME_FORMAT = "j E Y H:i" diff --git a/prawokultury/settings.d/30-locale.conf b/prawokultury/settings.d/30-locale.conf index f78e452..f716b1f 100755 --- a/prawokultury/settings.d/30-locale.conf +++ b/prawokultury/settings.d/30-locale.conf @@ -32,3 +32,5 @@ USE_L10N = True # If you set this to False, Django will not use timezone-aware datetimes. USE_TZ = False + +FORMAT_MODULE_PATH = "prawokultury.formats" diff --git a/prawokultury/static/css/sidebar.css b/prawokultury/static/css/sidebar.css index 0bc8a60..221b3f4 100644 --- a/prawokultury/static/css/sidebar.css +++ b/prawokultury/static/css/sidebar.css @@ -30,8 +30,7 @@ width: 5em; height: 4.8em; border-radius: .5em; - text-align: center; - margin-right: 1em; } + text-align: center; } .sidebar-box .event-list .date .day { font-size: 2.4em; font-style: italic; } @@ -40,7 +39,8 @@ text-transform: uppercase; margin-top: -0.3em; } .sidebar-box .event-list .description { - font-size: 1.1em; } + font-size: 1.1em; + margin-left: 5.5em; } #sidebar-box-categories ul { width: 50%; diff --git a/prawokultury/static/css/sidebar.scss b/prawokultury/static/css/sidebar.scss index 2ff8674..1846454 100755 --- a/prawokultury/static/css/sidebar.scss +++ b/prawokultury/static/css/sidebar.scss @@ -43,7 +43,6 @@ height: 4.8em; border-radius: .5em; text-align: center; - margin-right: 1em; .day { font-size: 2.4em; @@ -58,6 +57,7 @@ .description { font-size: 1.1em; + margin-left: 5.5em; } } }