Last modified: 2006-08-24 14:08:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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