Last modified: 2006-08-24 14:08:59 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 T9115, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7115 - Introduce {{dayofweek:}} colon function
Introduce {{dayofweek:}} colon function
Status: RESOLVED DUPLICATE of bug 7116
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-24 13:26 UTC by Danny B.
Modified: 2006-08-24 14:08 UTC (History)
0 users

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


Attachments

Description Danny B. 2006-08-24 13:26:33 UTC
Sometimes is necessary to know the day number/name for such date. Sometimes just
what was the first day of such month or year.

The idea is:
{{dayofweek:2006|08|24}} returns 4 (Thursday)
{{dayofweek:2006|08}} returns 2 (Tuesday) (= Aug 1st)
{{dayofweek:2006}} returns 7 (Sunday) (= Jan 1st)
missing parameter has default value 1

Name it different if you'll find proposed name confusing.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-24 14:08:59 UTC

*** This bug has been marked as a duplicate of 7116 ***

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


Navigation
Links