Last modified: 2012-12-20 13:30:04 UTC
, cnit and Markus suggest using MediaWiki's date formatting, so that dates
appear according to user preference.
Any news on this one?
I'm getting '10 September 2008' everywhere, although my user's preferences are set to '2001-01-15T16:12:34', and http://www.semantic-mediawiki.org/wiki/Type:Date says "Normally dates in query results display in ISO8601 format. "
If this ever worked, it doesn't work with recent SMW and MediaWiki code. I rewrote the Type:Date page to remove several incorrect statements.
(In reply to comment #2)
> If this ever worked, it doesn't work with recent SMW and MediaWiki code. I
> rewrote the Type:Date page to remove several incorrect statements.
Ok, thanks for updating the docs then :)
In SMW 1.4, Type:Date has been rewritten to address many of its earlier limitations. See http://www.semantic-mediawiki.org/wiki/Type:Date for a feature overview.
Since SMW now supports a far greater range of dates than before, it is no longer possible to use MediaWiki's date formatting functions at all (they work only for very limited date ranges). Also, Type:Date now remembers if a date was only given partially (e.g. as "2008") and will print it in this form. Again, displaying incomplete dates is not encompassed by MW's user preferences on date formatting.
This feature therefore becomes harder to implement. Acknowledging our limited programming resources, I move its status to "LATER" -- interested contributors are welcome to look into the code of SMW_DV_Time.php and MW's Language.php to figure out how to solve this.
[Removing RESOLVED LATER as discussed in http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064240.html and announced in https://sourceforge.net/mailarchive/forum.php?thread_name=CALFVSbXkiffYy6HkhEWE0RtRrJ%2B2ebPz3g00gsr%2Bdz%2B1nZWsDA%40mail.gmail.com&forum_name=semediawiki-devel . Reopening and setting priority to "Lowest". For future reference, please use either RESOLVED WONTFIX (for issues that will not be fixed), or simply set lowest priority. Thanks a lot!]