Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Change theme dynamically
· 11 years ago
Thanks! Its works! :)
-
Change theme dynamically
· 11 years ago
A couple of things. Grav already includes https://github.com/donatj/PhpUserAgent and is available to use in your plugins. It has a simple platform detection function. It doesn't actually have a simp
-
Change theme dynamically
· 11 years ago
Hello, I'm trying to develop a plugin which change theme if mobile is detect. I found how to get the current theme in the array with grav['config']->get('system.pages.theme') and how to find all t
-
Date format in .md files
· 11 years ago
doh! already had it: Date Documentation
-
Date format in .md files
· 11 years ago
Cool, i've made a note to add this info to the docs for next time!
-
Date format in .md files
· 11 years ago
Ah I see now! Thank you that works perfectly.
-
Date format in .md files
· 11 years ago
Yes / is used for US dates and - for Euro dates. Try the dash approach I posted above.
-
Date format in .md files
· 11 years ago
If I just use the format dd/mm/yyyy in the markdown files, then 01/08/2014 is interpreted as 8th Jan 2014 instead of 1st Aug 2014
-
Date format in .md files
· 11 years ago
Try 16-08-2014
-
Date format in .md files
· 11 years ago
Is there a way I can specify UK dates in the format dd/MM/YYYY in my post.md files and have Grav detect this correctly? I can get the dates to render in the correct format, but they seem to have to be