aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-01 21:58:52 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-01 21:58:52 +0200
commit3d55b7300a897fc072faa19c8a1601636b2e08ac (patch)
tree0d6135182566db944676dbfab19628ab2bfcc605
parentf7d1801596b53b4ecde0a3b163174f3fceb52af2 (diff)
downloadhmnoweb-3d55b7300a897fc072faa19c8a1601636b2e08ac.tar.gz
hmnoweb-3d55b7300a897fc072faa19c8a1601636b2e08ac.tar.bz2
hmnoweb-3d55b7300a897fc072faa19c8a1601636b2e08ac.zip
Fix date display in blog posts.
-rw-r--r--app/assets/stylesheets/hmno_blogg.scss3
-rw-r--r--config/locales/en.yml3
-rw-r--r--config/locales/nb.yml3
3 files changed, 9 insertions, 0 deletions
diff --git a/app/assets/stylesheets/hmno_blogg.scss b/app/assets/stylesheets/hmno_blogg.scss
index fda0b77..1804823 100644
--- a/app/assets/stylesheets/hmno_blogg.scss
+++ b/app/assets/stylesheets/hmno_blogg.scss
@@ -43,6 +43,9 @@
.details {
color: $deemph-text-fg;
font-size: 75%;
+ .blog_author {
+ display: inline;
+ }
}
}
}
diff --git a/config/locales/en.yml b/config/locales/en.yml
index bc3fd29..49c5be5 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1,4 +1,7 @@
en:
+ date:
+ formats:
+ short: "%A %-d. %b, %Y"
read_more: Read more...
refinery:
blog:
diff --git a/config/locales/nb.yml b/config/locales/nb.yml
index 55d45c9..961f99c 100644
--- a/config/locales/nb.yml
+++ b/config/locales/nb.yml
@@ -1,4 +1,7 @@
nb:
+ date:
+ formats:
+ short: "%A %-d. %b, %Y"
read_more: Les mer...
refinery:
blog: