SMWTimeFix
From Charlie.Huggardlee.Net
| Mediawiki Extension |
|
Author: Charlie Huggard License: CC by-nc-sa 3.0 Download: Link
|
SMWTimeFix is a Parser Function extension that spawned out fixing my blog so that timestamps are applied. When Semantic Mediawiki returns a datetime in an embedded query, the format is along the lines of d Month YYYY HH:MM, Unfortunately, the strtotime function has problems parsing this. This extension simply applies a regular expression, to reformat the passed parameter to HH:MM, d Month YYYY (UTC) so then everything is happy, happy, happy.
Usage
{{#smwtimefix:semantic date parameter}}
For an example of this in action see Template:Blogentry and it's invocation on Blog.
or read what others have said
Facts about SMWTimeFixRDF feed
| Author | Charlie Huggard + |
| Download | http://charlie.huggardlee.net/downloads/mediawiki/extensions/SMWTimeFix.php + |
| License | CC by-nc-sa 3.0 + |

