Page MenuHomePhabricator

printout statement #MEDIAWIKI not working as expected
Closed, InvalidPublic

Description

In case of queries on datetime properties of type date, like e.g.

?Has datetime#MEDIAWIKI

the result is in case of a German language usecase

09:30, 23. Mai. 2012

instead of

  1. Mai 2012, 09:30

It would be nice to get date and time juxtaposed the other way around. I guess that this would be better not just for German language usecases


Version: unspecified
Severity: normal

Details

Reference
bz34173

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:09 AM
bzimport set Reference to bz34173.
bzimport added a subscriber: Unknown Object (MLST).

A "wrong" setting in the user preferences on [[Special:Preferences]] section "date format" is not the cause of this since this printout statement does not consider the settings made there.

I think it is very sad to see that such an excellent idea turns out to be utterly useless. :(

SMW just calls the MW formatting function $wgContLang->timeanddate( timestamp, false, false). As I understand the documentation, this should provide the site language default format without any user preferences taken into account.

In other words, this is the German default date/time representation of MediaWiki. If something else should be the default, this needs to be changed in MediaWiki. Not sure if anything can be done here.

You are right. This comes directly from MW [1] and SMW just utilizes this. Thus closing this as RESOLVED INVALID.

[1] https://www.mediawiki.org/wiki/File:MW_I18n_de_datetime.png