Last modified: 2014-03-03 15:01:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36173, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34173 - printout statement #MEDIAWIKI not working as expected
printout statement #MEDIAWIKI not working as expected
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-02 17:57 UTC by [[kgh]]
Modified: 2014-03-03 15:01 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description [[kgh]] 2012-02-02 17:57:53 UTC
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

23. 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
Comment 1 [[kgh]] 2012-06-23 01:02:49 UTC
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. :(
Comment 2 Markus Krötzsch 2012-10-17 20:16:15 UTC
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.
Comment 3 [[kgh]] 2014-03-03 15:01:18 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links