Last modified: 2009-08-01 18:34:06 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 T20405, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18405 - Template date format problem
Template date format problem
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
http://sandbox.semantic-mediawiki.org...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-08 22:37 UTC by Neoshinji
Modified: 2009-08-01 18:34 UTC (History)
0 users

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


Attachments

Description Neoshinji 2009-04-08 22:37:15 UTC
Due to limitations, SMW uses the date config ISO8601 (YEAR/MONTH/DAY) to save date data. Some countries, like Spain it's not usually to use this kind of format. For example we use the format DAY/MONTH/YEAR.

One way to show to the users their usually date format it's using a time parser function, you can create a template that contain this function, then every time you need to use a date, you can use this to show as their users like and the same time you save this data on the format used by SMW.

Extended info problem
http://sandbox.semantic-mediawiki.org/wiki/User:Neoshinji#SMW.2C_templates_and_parser_function_time
Comment 1 Markus Krötzsch 2009-08-01 18:34:06 UTC
I am somewhat confused by the wiki page that I see at this link. Some points that I see on this page (relating to missing month label) have been fixed recently. Also, the dates are not normally displayed in ISO format by SMW. If you want to get them in ISO format (for example if you want to parse them in a template), then you can add the output format "ISO" to the printout:

?mydateproperty # ISO

Please reopen this bug if there is still another problem that has not been fixed yet.

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


Navigation
Links