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