Mercurial > moin > 1.9
diff MoinMoin/support/parsedatetime/pdt_locales/en_AU.py @ 6098:83b1bc99457c
upgrade parsedatetime from 0.8.7 to 2.1
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Tue, 06 Sep 2016 00:09:31 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MoinMoin/support/parsedatetime/pdt_locales/en_AU.py Tue Sep 06 00:09:31 2016 +0200 @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals +from .base import * # noqa + +# don't use an unicode string +localeID = 'en_AU' +dateSep = ['-', '/'] +uses24 = False + +dateFormats = { + 'full': 'EEEE, d MMMM yyyy', + 'long': 'd MMMM yyyy', + 'medium': 'dd/MM/yyyy', + 'short': 'd/MM/yy', +} + +timeFormats = { + 'long': timeFormats['full'], +} + +dp_order = ['d', 'm', 'y']