Last modified: 2013-11-01 21:34:53 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 T34923, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32923 - Have some way to specify use user's time preference in #time and #timel
Have some way to specify use user's time preference in #time and #timel
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-09 18:08 UTC by Bawolff (Brian Wolff)
Modified: 2013-11-01 21:34 UTC (History)
2 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2011-12-09 18:08:28 UTC
split off from bug 32351.

User's have preferences for how to display time. Should perhaps have some way to use those in #time . See discussion on bug 32351 (And some of the obsolete patches).

Possible implementations:
*Have {{#time:|Some time}} use the user prefs (but then how do you specify just date, just time or date and time)
*have some sort of new formatting characters to denote user's preferences time (but then this breaks from having all formatting characters being handled in Language.php)
*Wontfix and Tell users to use {{ #formatdate: {{ #time: Y-m-d | 2011-11-10 01:00 YAKT }} }}
Comment 1 Ryan Kaldari 2013-11-01 21:34:53 UTC
This is exactly what #formatdate is for. See https://en.wikipedia.org/wiki/Separation_of_concerns. Personally, I would avoid doing this anyway, since it leads to cache fragmentation.

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


Navigation
Links