jenkins-bot has submitted this change and it was merged.
Change subject: Add month-only date format.
......................................................................
Add month-only date format.
The BookManagerv2 extension needs support for dates that consist
of only a month and a year, and I think this is something that
would potentially be useful to other extensions as well.
Change-Id: I3672b0b0aee196890981302a41daeefb61130141
---
M languages/messages/MessagesEn.php
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Parent5446: Looks good to me, approved
jenkins-bot: Verified
diff --git a/languages/messages/MessagesEn.php
b/languages/messages/MessagesEn.php
index 826c364..92f264c 100644
--- a/languages/messages/MessagesEn.php
+++ b/languages/messages/MessagesEn.php
@@ -161,21 +161,25 @@
$dateFormats = array(
'mdy time' => 'H:i',
'mdy date' => 'F j, Y',
+ 'mdy monthonly' => 'F Y',
'mdy both' => 'H:i, F j, Y',
'mdy pretty' => 'F j',
'dmy time' => 'H:i',
'dmy date' => 'j F Y',
+ 'dmy monthonly' => 'F Y',
'dmy both' => 'H:i, j F Y',
'dmy pretty' => 'j F',
'ymd time' => 'H:i',
'ymd date' => 'Y F j',
+ 'ymd monthonly' => 'Y F',
'ymd both' => 'H:i, Y F j',
'ymd pretty' => 'F j',
'ISO 8601 time' => 'xnH:xni:xns',
'ISO 8601 date' => 'xnY-xnm-xnd',
+ 'ISO 8601 monthonly' => 'xnY-xnm',
'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
'ISO 8601 pretty' => 'xnm-xnd'
);
--
To view, visit https://gerrit.wikimedia.org/r/77059
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3672b0b0aee196890981302a41daeefb61130141
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mollywhite <[email protected]>
Gerrit-Reviewer: Matmarex <[email protected]>
Gerrit-Reviewer: Mollywhite <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits