annotate MoinMoin/support/parsedatetime/pdt_locales/es.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6098
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
1 # -*- coding: utf-8 -*-
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
2 from __future__ import unicode_literals
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
3 from .base import * # noqa
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
4
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
5 # don't use an unicode string
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
6 localeID = 'es'
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
7 dateSep = ['/']
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
8 usesMeridian = False
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
9 uses24 = True
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
10 decimal_mark = ','
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
11
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
12 Weekdays = [
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
13 'lunes', 'martes', 'miércoles',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
14 'jueves', 'viernes', 'sábado', 'domingo',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
15 ]
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
16 shortWeekdays = [
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
17 'lun', 'mar', 'mié',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
18 'jue', 'vie', 'sáb', 'dom',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
19 ]
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
20 Months = [
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
21 'enero', 'febrero', 'marzo',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
22 'abril', 'mayo', 'junio',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
23 'julio', 'agosto', 'septiembre',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
24 'octubre', 'noviembre', 'diciembre',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
25 ]
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
26 shortMonths = [
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
27 'ene', 'feb', 'mar',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
28 'abr', 'may', 'jun',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
29 'jul', 'ago', 'sep',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
30 'oct', 'nov', 'dic',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
31 ]
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
32 dateFormats = {
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
33 'full': "EEEE d' de 'MMMM' de 'yyyy",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
34 'long': "d' de 'MMMM' de 'yyyy",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
35 'medium': "dd-MMM-yy",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
36 'short': "d/MM/yy",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
37 }
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
38
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
39 timeFormats = {
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
40 'full': "HH'H'mm' 'ss z",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
41 'long': "HH:mm:ss z",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
42 'medium': "HH:mm:ss",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
43 'short': "HH:mm",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
44 }
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
45
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
46 dp_order = ['d', 'm', 'y']