Arrow: Better dates & times for PythonΒΆ

Release v0.17.0 (Installation) (Changelog)

Build Status Coverage PyPI Version Supported Python Versions License Code Style: Black

Arrow is a Python library that offers a sensible and human-friendly approach to creating, manipulating, formatting and converting dates, times and timestamps. It implements and updates the datetime type, plugging gaps in functionality and providing an intelligent module API that supports many common creation scenarios. Simply put, it helps you work with dates and times with fewer imports and a lot less code.

Arrow is named after the arrow of time and is heavily inspired by moment.js and requests.

Why use Arrow over built-in modules?ΒΆ

Python’s standard library and some other low-level modules have near-complete date, time and timezone functionality, but don’t work very well from a usability perspective:

  • Too many modules: datetime, time, calendar, dateutil, pytz and more
  • Too many types: date, time, datetime, tzinfo, timedelta, relativedelta, etc.
  • Timezones and timestamp conversions are verbose and unpleasant
  • Timezone naivety is the norm
  • Gaps in functionality: ISO 8601 parsing, timespans, humanization

FeaturesΒΆ

  • Fully-implemented, drop-in replacement for datetime
  • Supports Python 2.7, 3.5, 3.6, 3.7, 3.8 and 3.9
  • Timezone-aware and UTC by default
  • Provides super-simple creation options for many common input scenarios
  • shift method with support for relative offsets, including weeks
  • Formats and parses strings automatically
  • Wide support for ISO 8601
  • Timezone conversion
  • Timestamp available as a property
  • Generates time spans, ranges, floors and ceilings for time frames ranging from microsecond to year
  • Humanizes and supports a growing list of contributed locales
  • Extensible for your own Arrow-derived types

Quick StartΒΆ

InstallationΒΆ

To install Arrow, use pip or pipenv:

$ pip install -U arrow

Example UsageΒΆ

>>> import arrow
>>> arrow.get('2013-05-11T21:23:58.970460+07:00')
<Arrow [2013-05-11T21:23:58.970460+07:00]>

>>> utc = arrow.utcnow()
>>> utc
<Arrow [2013-05-11T21:23:58.970460+00:00]>

>>> utc = utc.shift(hours=-1)
>>> utc
<Arrow [2013-05-11T20:23:58.970460+00:00]>

>>> local = utc.to('US/Pacific')
>>> local
<Arrow [2013-05-11T13:23:58.970460-07:00]>

>>> local.timestamp
1368303838

>>> local.format()
'2013-05-11 13:23:58 -07:00'

>>> local.format('YYYY-MM-DD HH:mm:ss ZZ')
'2013-05-11 13:23:58 -07:00'

>>> local.humanize()
'an hour ago'

>>> local.humanize(locale='ko_kr')
'1μ‹œκ°„ μ „'

User’s GuideΒΆ

CreationΒΆ

Get β€˜now’ easily:

>>> arrow.utcnow()
<Arrow [2013-05-07T04:20:39.369271+00:00]>

>>> arrow.now()
<Arrow [2013-05-06T21:20:40.841085-07:00]>

>>> arrow.now('US/Pacific')
<Arrow [2013-05-06T21:20:44.761511-07:00]>

Create from timestamps (int or float):

>>> arrow.get(1367900664)
<Arrow [2013-05-07T04:24:24+00:00]>

>>> arrow.get(1367900664.152325)
<Arrow [2013-05-07T04:24:24.152325+00:00]>

Use a naive or timezone-aware datetime, or flexibly specify a timezone:

>>> arrow.get(datetime.utcnow())
<Arrow [2013-05-07T04:24:24.152325+00:00]>

>>> arrow.get(datetime(2013, 5, 5), 'US/Pacific')
<Arrow [2013-05-05T00:00:00-07:00]>

>>> from dateutil import tz
>>> arrow.get(datetime(2013, 5, 5), tz.gettz('US/Pacific'))
<Arrow [2013-05-05T00:00:00-07:00]>

>>> arrow.get(datetime.now(tz.gettz('US/Pacific')))
<Arrow [2013-05-06T21:24:49.552236-07:00]>

Parse from a string:

>>> arrow.get('2013-05-05 12:30:45', 'YYYY-MM-DD HH:mm:ss')
<Arrow [2013-05-05T12:30:45+00:00]>

Search a date in a string:

>>> arrow.get('June was born in May 1980', 'MMMM YYYY')
<Arrow [1980-05-01T00:00:00+00:00]>

Some ISO 8601 compliant strings are recognized and parsed without a format string:

>>> arrow.get('2013-09-30T15:34:00.000-07:00')
<Arrow [2013-09-30T15:34:00-07:00]>

Arrow objects can be instantiated directly too, with the same arguments as a datetime:

>>> arrow.get(2013, 5, 5)
<Arrow [2013-05-05T00:00:00+00:00]>

>>> arrow.Arrow(2013, 5, 5)
<Arrow [2013-05-05T00:00:00+00:00]>

PropertiesΒΆ

Get a datetime or timestamp representation:

>>> a = arrow.utcnow()
>>> a.datetime
datetime.datetime(2013, 5, 7, 4, 38, 15, 447644, tzinfo=tzutc())

>>> a.timestamp
1367901495

Get a naive datetime, and tzinfo:

>>> a.naive
datetime.datetime(2013, 5, 7, 4, 38, 15, 447644)

>>> a.tzinfo
tzutc()

Get any datetime value:

>>> a.year
2013

Call datetime functions that return properties:

>>> a.date()
datetime.date(2013, 5, 7)

>>> a.time()
datetime.time(4, 38, 15, 447644)

Replace & ShiftΒΆ

Get a new Arrow object, with altered attributes, just as you would with a datetime:

>>> arw = arrow.utcnow()
>>> arw
<Arrow [2013-05-12T03:29:35.334214+00:00]>

>>> arw.replace(hour=4, minute=40)
<Arrow [2013-05-12T04:40:35.334214+00:00]>

Or, get one with attributes shifted forward or backward:

>>> arw.shift(weeks=+3)
<Arrow [2013-06-02T03:29:35.334214+00:00]>

Even replace the timezone without altering other attributes:

>>> arw.replace(tzinfo='US/Pacific')
<Arrow [2013-05-12T03:29:35.334214-07:00]>

Move between the earlier and later moments of an ambiguous time:

>>> paris_transition = arrow.Arrow(2019, 10, 27, 2, tzinfo="Europe/Paris", fold=0)
>>> paris_transition
<Arrow [2019-10-27T02:00:00+02:00]>
>>> paris_transition.ambiguous
True
>>> paris_transition.replace(fold=1)
<Arrow [2019-10-27T02:00:00+01:00]>

FormatΒΆ

>>> arrow.utcnow().format('YYYY-MM-DD HH:mm:ss ZZ')
'2013-05-07 05:23:16 -00:00'

ConvertΒΆ

Convert from UTC to other timezones by name or tzinfo:

>>> utc = arrow.utcnow()
>>> utc
<Arrow [2013-05-07T05:24:11.823627+00:00]>

>>> utc.to('US/Pacific')
<Arrow [2013-05-06T22:24:11.823627-07:00]>

>>> utc.to(tz.gettz('US/Pacific'))
<Arrow [2013-05-06T22:24:11.823627-07:00]>

Or using shorthand:

>>> utc.to('local')
<Arrow [2013-05-06T22:24:11.823627-07:00]>

>>> utc.to('local').to('utc')
<Arrow [2013-05-07T05:24:11.823627+00:00]>

HumanizeΒΆ

Humanize relative to now:

>>> past = arrow.utcnow().shift(hours=-1)
>>> past.humanize()
'an hour ago'

Or another Arrow, or datetime:

>>> present = arrow.utcnow()
>>> future = present.shift(hours=2)
>>> future.humanize(present)
'in 2 hours'

Indicate time as relative or include only the distance

>>> present = arrow.utcnow()
>>> future = present.shift(hours=2)
>>> future.humanize(present)
'in 2 hours'
>>> future.humanize(present, only_distance=True)
'2 hours'

Indicate a specific time granularity (or multiple):

>>> present = arrow.utcnow()
>>> future = present.shift(minutes=66)
>>> future.humanize(present, granularity="minute")
'in 66 minutes'
>>> future.humanize(present, granularity=["hour", "minute"])
'in an hour and 6 minutes'
>>> present.humanize(future, granularity=["hour", "minute"])
'an hour and 6 minutes ago'
>>> future.humanize(present, only_distance=True, granularity=["hour", "minute"])
'an hour and 6 minutes'

Support for a growing number of locales (see locales.py for supported languages):

>>> future = arrow.utcnow().shift(hours=1)
>>> future.humanize(a, locale='ru')
'Ρ‡Π΅Ρ€Π΅Π· 2 час(Π°,ΠΎΠ²)'

Ranges & SpansΒΆ

Get the time span of any unit:

>>> arrow.utcnow().span('hour')
(<Arrow [2013-05-07T05:00:00+00:00]>, <Arrow [2013-05-07T05:59:59.999999+00:00]>)

Or just get the floor and ceiling:

>>> arrow.utcnow().floor('hour')
<Arrow [2013-05-07T05:00:00+00:00]>

>>> arrow.utcnow().ceil('hour')
<Arrow [2013-05-07T05:59:59.999999+00:00]>

You can also get a range of time spans:

>>> start = datetime(2013, 5, 5, 12, 30)
>>> end = datetime(2013, 5, 5, 17, 15)
>>> for r in arrow.Arrow.span_range('hour', start, end):
...     print r
...
(<Arrow [2013-05-05T12:00:00+00:00]>, <Arrow [2013-05-05T12:59:59.999999+00:00]>)
(<Arrow [2013-05-05T13:00:00+00:00]>, <Arrow [2013-05-05T13:59:59.999999+00:00]>)
(<Arrow [2013-05-05T14:00:00+00:00]>, <Arrow [2013-05-05T14:59:59.999999+00:00]>)
(<Arrow [2013-05-05T15:00:00+00:00]>, <Arrow [2013-05-05T15:59:59.999999+00:00]>)
(<Arrow [2013-05-05T16:00:00+00:00]>, <Arrow [2013-05-05T16:59:59.999999+00:00]>)

Or just iterate over a range of time:

>>> start = datetime(2013, 5, 5, 12, 30)
>>> end = datetime(2013, 5, 5, 17, 15)
>>> for r in arrow.Arrow.range('hour', start, end):
...     print repr(r)
...
<Arrow [2013-05-05T12:30:00+00:00]>
<Arrow [2013-05-05T13:30:00+00:00]>
<Arrow [2013-05-05T14:30:00+00:00]>
<Arrow [2013-05-05T15:30:00+00:00]>
<Arrow [2013-05-05T16:30:00+00:00]>

FactoriesΒΆ

Use factories to harness Arrow’s module API for a custom Arrow-derived type. First, derive your type:

>>> class CustomArrow(arrow.Arrow):
...
...     def days_till_xmas(self):
...
...         xmas = arrow.Arrow(self.year, 12, 25)
...
...         if self > xmas:
...             xmas = xmas.shift(years=1)
...
...         return (xmas - self).days

Then get and use a factory for it:

>>> factory = arrow.ArrowFactory(CustomArrow)
>>> custom = factory.utcnow()
>>> custom
>>> <CustomArrow [2013-05-27T23:35:35.533160+00:00]>

>>> custom.days_till_xmas()
>>> 211

Supported TokensΒΆ

Use the following tokens for parsing and formatting. Note that they are not the same as the tokens for strptime:

  Token Output
Year YYYY 2000, 2001, 2002 … 2012, 2013
  YY 00, 01, 02 … 12, 13
Month MMMM January, February, March … [1]
  MMM Jan, Feb, Mar … [1]
  MM 01, 02, 03 … 11, 12
  M 1, 2, 3 … 11, 12
Day of Year DDDD 001, 002, 003 … 364, 365
  DDD 1, 2, 3 … 364, 365
Day of Month DD 01, 02, 03 … 30, 31
  D 1, 2, 3 … 30, 31
  Do 1st, 2nd, 3rd … 30th, 31st
Day of Week dddd Monday, Tuesday, Wednesday … [2]
  ddd Mon, Tue, Wed … [2]
  d 1, 2, 3 … 6, 7
ISO week date W 2011-W05-4, 2019-W17
Hour HH 00, 01, 02 … 23, 24
  H 0, 1, 2 … 23, 24
  hh 01, 02, 03 … 11, 12
  h 1, 2, 3 … 11, 12
AM / PM A AM, PM, am, pm [1]
  a am, pm [1]
Minute mm 00, 01, 02 … 58, 59
  m 0, 1, 2 … 58, 59
Second ss 00, 01, 02 … 58, 59
  s 0, 1, 2 … 58, 59
Sub-second S… 0, 02, 003, 000006, 123123123123… [3]
Timezone ZZZ Asia/Baku, Europe/Warsaw, GMT … [4]
  ZZ -07:00, -06:00 … +06:00, +07:00, +08, Z
  Z -0700, -0600 … +0600, +0700, +08, Z
Seconds Timestamp X 1381685817, 1381685817.915482 … [5]
ms or Β΅s Timestamp x 1569980330813, 1569980330813221

Footnotes

[1](1, 2, 3, 4) localization support for parsing and formatting
[2](1, 2) localization support only for formatting
[3]the result is truncated to microseconds, with half-to-even rounding.
[4]timezone names from tz database provided via dateutil package, note that abbreviations such as MST, PDT, BRST are unlikely to parse due to ambiguity. Use the full IANA zone name instead (Asia/Shanghai, Europe/London, America/Chicago etc).
[5]this token cannot be used for parsing timestamps out of natural language strings due to compatibility reasons

Built-in FormatsΒΆ

There are several formatting standards that are provided as built-in tokens.

>>> arw = arrow.utcnow()
>>> arw.format(arrow.FORMAT_ATOM)
'2020-05-27 10:30:35+00:00'
>>> arw.format(arrow.FORMAT_COOKIE)
'Wednesday, 27-May-2020 10:30:35 UTC'
>>> arw.format(arrow.FORMAT_RSS)
'Wed, 27 May 2020 10:30:35 +0000'
>>> arw.format(arrow.FORMAT_RFC822)
'Wed, 27 May 20 10:30:35 +0000'
>>> arw.format(arrow.FORMAT_RFC850)
'Wednesday, 27-May-20 10:30:35 UTC'
>>> arw.format(arrow.FORMAT_RFC1036)
'Wed, 27 May 20 10:30:35 +0000'
>>> arw.format(arrow.FORMAT_RFC1123)
'Wed, 27 May 2020 10:30:35 +0000'
>>> arw.format(arrow.FORMAT_RFC2822)
'Wed, 27 May 2020 10:30:35 +0000'
 >>> arw.format(arrow.FORMAT_RFC3339)
'2020-05-27 10:30:35+00:00'
 >>> arw.format(arrow.FORMAT_W3C)
'2020-05-27 10:30:35+00:00'

Escaping FormatsΒΆ

Tokens, phrases, and regular expressions in a format string can be escaped when parsing and formatting by enclosing them within square brackets.

Tokens & PhrasesΒΆ

Any token or phrase can be escaped as follows:

>>> fmt = "YYYY-MM-DD h [h] m"
>>> arw = arrow.get("2018-03-09 8 h 40", fmt)
<Arrow [2018-03-09T08:40:00+00:00]>
>>> arw.format(fmt)
'2018-03-09 8 h 40'

>>> fmt = "YYYY-MM-DD h [hello] m"
>>> arw = arrow.get("2018-03-09 8 hello 40", fmt)
<Arrow [2018-03-09T08:40:00+00:00]>
>>> arw.format(fmt)
'2018-03-09 8 hello 40'

>>> fmt = "YYYY-MM-DD h [hello world] m"
>>> arw = arrow.get("2018-03-09 8 hello world 40", fmt)
<Arrow [2018-03-09T08:40:00+00:00]>
>>> arw.format(fmt)
'2018-03-09 8 hello world 40'

This can be useful for parsing dates in different locales such as French, in which it is common to format time strings as β€œ8 h 40” rather than β€œ8:40”.

Regular ExpressionsΒΆ

You can also escape regular expressions by enclosing them within square brackets. In the following example, we are using the regular expression \s+ to match any number of whitespace characters that separate the tokens. This is useful if you do not know the number of spaces between tokens ahead of time (e.g. in log files).

>>> fmt = r"ddd[\s+]MMM[\s+]DD[\s+]HH:mm:ss[\s+]YYYY"
>>> arrow.get("Mon Sep 08 16:41:45 2014", fmt)
<Arrow [2014-09-08T16:41:45+00:00]>

>>> arrow.get("Mon \tSep 08   16:41:45     2014", fmt)
<Arrow [2014-09-08T16:41:45+00:00]>

>>> arrow.get("Mon Sep 08   16:41:45   2014", fmt)
<Arrow [2014-09-08T16:41:45+00:00]>

PunctuationΒΆ

Date and time formats may be fenced on either side by one punctuation character from the following list: , . ; : ? ! " \` ' [ ] { } ( ) < >

>>> arrow.get("Cool date: 2019-10-31T09:12:45.123456+04:30.", "YYYY-MM-DDTHH:mm:ss.SZZ")
<Arrow [2019-10-31T09:12:45.123456+04:30]>

>>> arrow.get("Tomorrow (2019-10-31) is Halloween!", "YYYY-MM-DD")
<Arrow [2019-10-31T00:00:00+00:00]>

>>> arrow.get("Halloween is on 2019.10.31.", "YYYY.MM.DD")
<Arrow [2019-10-31T00:00:00+00:00]>

>>> arrow.get("It's Halloween tomorrow (2019-10-31)!", "YYYY-MM-DD")
# Raises exception because there are multiple punctuation marks following the date

Redundant WhitespaceΒΆ

Redundant whitespace characters (spaces, tabs, and newlines) can be normalized automatically by passing in the normalize_whitespace flag to arrow.get:

>>> arrow.get('\t \n  2013-05-05T12:30:45.123456 \t \n', normalize_whitespace=True)
<Arrow [2013-05-05T12:30:45.123456+00:00]>

>>> arrow.get('2013-05-05  T \n   12:30:45\t123456', 'YYYY-MM-DD T HH:mm:ss S', normalize_whitespace=True)
<Arrow [2013-05-05T12:30:45.123456+00:00]>

API GuideΒΆ

arrow.arrowΒΆ

Provides the Arrow class, an enhanced datetime replacement.

class arrow.arrow.Arrow(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, **kwargs)ΒΆ

An Arrow object.

Implements the datetime interface, behaving as an aware datetime while implementing additional functionality.

Parameters:
  • year – the calendar year.
  • month – the calendar month.
  • day – the calendar day.
  • hour – (optional) the hour. Defaults to 0.
  • minute – (optional) the minute, Defaults to 0.
  • second – (optional) the second, Defaults to 0.
  • microsecond – (optional) the microsecond. Defaults to 0.
  • tzinfo – (optional) A timezone expression. Defaults to UTC.
  • fold – (optional) 0 or 1, used to disambiguate repeated times. Defaults to 0.

Recognized timezone expressions:

  • A tzinfo object.
  • A str describing a timezone, similar to β€˜US/Pacific’, or β€˜Europe/Berlin’.
  • A str in ISO 8601 style, as in β€˜+07:00’.
  • A str, one of the following: β€˜local’, β€˜utc’, β€˜UTC’.

Usage:

>>> import arrow
>>> arrow.Arrow(2013, 5, 5, 12, 30, 45)
<Arrow [2013-05-05T12:30:45+00:00]>
ambiguousΒΆ

Returns a boolean indicating whether the Arrow object is ambiguous.

astimezone(tz)ΒΆ

Returns a datetime object, converted to the specified timezone.

Parameters:tz – a tzinfo object.

Usage:

>>> pacific=arrow.now('US/Pacific')
>>> nyc=arrow.now('America/New_York').tzinfo
>>> pacific.astimezone(nyc)
datetime.datetime(2019, 1, 20, 10, 24, 22, 328172, tzinfo=tzfile('/usr/share/zoneinfo/America/New_York'))
ceil(frame)ΒΆ

Returns a new Arrow object, representing the β€œceiling” of the timespan of the Arrow object in a given timeframe. Equivalent to the second element in the 2-tuple returned by span.

Parameters:frame – the timeframe. Can be any datetime property (day, hour, minute…).

Usage:

>>> arrow.utcnow().ceil('hour')
<Arrow [2013-05-09T03:59:59.999999+00:00]>
clone()ΒΆ

Returns a new Arrow object, cloned from the current one.

Usage:

>>> arw = arrow.utcnow()
>>> cloned = arw.clone()
ctime()ΒΆ

Returns a ctime formatted representation of the date and time.

Usage:

>>> arrow.utcnow().ctime()
'Sat Jan 19 18:26:50 2019'
date()ΒΆ

Returns a date object with the same year, month and day.

Usage:

>>> arrow.utcnow().date()
datetime.date(2019, 1, 23)
datetimeΒΆ

Returns a datetime representation of the Arrow object.

Usage:

>>> arw=arrow.utcnow()
>>> arw.datetime
datetime.datetime(2019, 1, 24, 16, 35, 27, 276649, tzinfo=tzutc())
dst()ΒΆ

Returns the daylight savings time adjustment.

Usage:

>>> arrow.utcnow().dst()
datetime.timedelta(0)
float_timestampΒΆ

Returns a floating-point representation of the Arrow object, in UTC time.

Usage:

>>> arrow.utcnow().float_timestamp
1548260516.830896
floor(frame)ΒΆ

Returns a new Arrow object, representing the β€œfloor” of the timespan of the Arrow object in a given timeframe. Equivalent to the first element in the 2-tuple returned by span.

Parameters:frame – the timeframe. Can be any datetime property (day, hour, minute…).

Usage:

>>> arrow.utcnow().floor('hour')
<Arrow [2013-05-09T03:00:00+00:00]>
foldΒΆ

Returns the fold value of the Arrow object.

for_json()ΒΆ

Serializes for the for_json protocol of simplejson.

Usage:

>>> arrow.utcnow().for_json()
'2019-01-19T18:25:36.760079+00:00'
format(fmt='YYYY-MM-DD HH:mm:ssZZ', locale='en_us')ΒΆ

Returns a string representation of the Arrow object, formatted according to a format string.

Parameters:fmt – the format string.

Usage:

>>> arrow.utcnow().format('YYYY-MM-DD HH:mm:ss ZZ')
'2013-05-09 03:56:47 -00:00'

>>> arrow.utcnow().format('X')
'1368071882'

>>> arrow.utcnow().format('MMMM DD, YYYY')
'May 09, 2013'

>>> arrow.utcnow().format()
'2013-05-09 03:56:47 -00:00'
classmethod fromdate(date, tzinfo=None)ΒΆ

Constructs an Arrow object from a date and optional replacement timezone. Time values are set to 0.

Parameters:
classmethod fromdatetime(dt, tzinfo=None)ΒΆ

Constructs an Arrow object from a datetime and optional replacement timezone.

Parameters:
  • dt – the datetime
  • tzinfo – (optional) A timezone expression. Defaults to dt’s timezone, or UTC if naive.

If you only want to replace the timezone of naive datetimes:

>>> dt
datetime.datetime(2013, 5, 5, 0, 0, tzinfo=tzutc())
>>> arrow.Arrow.fromdatetime(dt, dt.tzinfo or 'US/Pacific')
<Arrow [2013-05-05T00:00:00+00:00]>
classmethod fromtimestamp(timestamp, tzinfo=None)ΒΆ

Constructs an Arrow object from a timestamp, converted to the given timezone.

Parameters:
  • timestamp – an int or float timestamp, or a str that converts to either.
  • tzinfo – (optional) a tzinfo object. Defaults to local time.
humanize(other=None, locale='en_us', only_distance=False, granularity='auto')ΒΆ

Returns a localized, humanized representation of a relative difference in time.

Parameters:
  • other – (optional) an Arrow or datetime object. Defaults to now in the current Arrow object’s timezone.
  • locale – (optional) a str specifying a locale. Defaults to β€˜en_us’.
  • only_distance – (optional) returns only time difference eg: β€œ11 seconds” without β€œin” or β€œago” part.
  • granularity – (optional) defines the precision of the output. Set it to strings β€˜second’, β€˜minute’, β€˜hour’, β€˜day’, β€˜week’, β€˜month’ or β€˜year’ or a list of any combination of these strings

Usage:

>>> earlier = arrow.utcnow().shift(hours=-2)
>>> earlier.humanize()
'2 hours ago'

>>> later = earlier.shift(hours=4)
>>> later.humanize(earlier)
'in 4 hours'
imaginaryΒΆ

Indicates whether the :class: Arrow <arrow.arrow.Arrow> object exists in the current timezone.

int_timestampΒΆ

Returns a timestamp representation of the Arrow object, in UTC time.

Usage:

>>> arrow.utcnow().int_timestamp
1548260567
classmethod interval(frame, start, end, interval=1, tz=None, bounds='[)')ΒΆ

Returns an iterator of tuples, each Arrow objects, representing a series of intervals between two inputs.

Parameters:
  • frame – The timeframe. Can be any datetime property (day, hour, minute…).
  • start – A datetime expression, the start of the range.
  • end – (optional) A datetime expression, the end of the range.
  • interval – (optional) Time interval for the given time frame.
  • tz – (optional) A timezone expression. Defaults to UTC.
  • bounds – (optional) a str of either β€˜()’, β€˜(]’, β€˜[)’, or β€˜[]’ that specifies whether to include or exclude the start and end values in the intervals. β€˜(’ excludes the start, β€˜[’ includes the start, β€˜)’ excludes the end, and β€˜]’ includes the end. If the bounds are not specified, the default bound β€˜[)’ is used.

Supported frame values: year, quarter, month, week, day, hour, minute, second

Recognized datetime expressions:

  • An Arrow object.
  • A datetime object.

Recognized timezone expressions:

  • A tzinfo object.
  • A str describing a timezone, similar to β€˜US/Pacific’, or β€˜Europe/Berlin’.
  • A str in ISO 8601 style, as in β€˜+07:00’.
  • A str, one of the following: β€˜local’, β€˜utc’, β€˜UTC’.

Usage:

>>> start = datetime(2013, 5, 5, 12, 30)
>>> end = datetime(2013, 5, 5, 17, 15)
>>> for r in arrow.Arrow.interval('hour', start, end, 2):
...     print r
...
(<Arrow [2013-05-05T12:00:00+00:00]>, <Arrow [2013-05-05T13:59:59.999999+00:00]>)
(<Arrow [2013-05-05T14:00:00+00:00]>, <Arrow [2013-05-05T15:59:59.999999+00:00]>)
(<Arrow [2013-05-05T16:00:00+00:00]>, <Arrow [2013-05-05T17:59:59.999999+00:0]>)
is_between(start, end, bounds='()')ΒΆ

Returns a boolean denoting whether the specified date and time is between the start and end dates and times.

Parameters:
  • start – an Arrow object.
  • end – an Arrow object.
  • bounds – (optional) a str of either β€˜()’, β€˜(]’, β€˜[)’, or β€˜[]’ that specifies whether to include or exclude the start and end values in the range. β€˜(’ excludes the start, β€˜[’ includes the start, β€˜)’ excludes the end, and β€˜]’ includes the end. If the bounds are not specified, the default bound β€˜()’ is used.

Usage:

>>> start = arrow.get(datetime(2013, 5, 5, 12, 30, 10))
>>> end = arrow.get(datetime(2013, 5, 5, 12, 30, 36))
>>> arrow.get(datetime(2013, 5, 5, 12, 30, 27)).is_between(start, end)
True

>>> start = arrow.get(datetime(2013, 5, 5))
>>> end = arrow.get(datetime(2013, 5, 8))
>>> arrow.get(datetime(2013, 5, 8)).is_between(start, end, '[]')
True

>>> start = arrow.get(datetime(2013, 5, 5))
>>> end = arrow.get(datetime(2013, 5, 8))
>>> arrow.get(datetime(2013, 5, 8)).is_between(start, end, '[)')
False
isocalendar()ΒΆ

Returns a 3-tuple, (ISO year, ISO week number, ISO weekday).

Usage:

>>> arrow.utcnow().isocalendar()
(2019, 3, 6)
isoformat(sep='T')ΒΆ

Returns an ISO 8601 formatted representation of the date and time.

Usage:

>>> arrow.utcnow().isoformat()
'2019-01-19T18:30:52.442118+00:00'
isoweekday()ΒΆ

Returns the ISO day of the week as an integer (1-7).

Usage:

>>> arrow.utcnow().isoweekday()
6
naiveΒΆ

Returns a naive datetime representation of the Arrow object.

Usage:

>>> nairobi = arrow.now('Africa/Nairobi')
>>> nairobi
<Arrow [2019-01-23T19:27:12.297999+03:00]>
>>> nairobi.naive
datetime.datetime(2019, 1, 23, 19, 27, 12, 297999)
classmethod now(tzinfo=None)ΒΆ

Constructs an Arrow object, representing β€œnow” in the given timezone.

Parameters:tzinfo – (optional) a tzinfo object. Defaults to local time.

Usage:

>>> arrow.now('Asia/Baku')
<Arrow [2019-01-24T20:26:31.146412+04:00]>
classmethod range(frame, start, end=None, tz=None, limit=None)ΒΆ

Returns an iterator of Arrow objects, representing points in time between two inputs.

Parameters:
  • frame – The timeframe. Can be any datetime property (day, hour, minute…).
  • start – A datetime expression, the start of the range.
  • end – (optional) A datetime expression, the end of the range.
  • tz – (optional) A timezone expression. Defaults to start’s timezone, or UTC if start is naive.
  • limit – (optional) A maximum number of tuples to return.

NOTE: The end or limit must be provided. Call with end alone to return the entire range. Call with limit alone to return a maximum # of results from the start. Call with both to cap a range at a maximum # of results.

NOTE: tz internally replaces the timezones of both start and end before iterating. As such, either call with naive objects and tz, or aware objects from the same timezone and no tz.

Supported frame values: year, quarter, month, week, day, hour, minute, second.

Recognized datetime expressions:

  • An Arrow object.
  • A datetime object.

Usage:

>>> start = datetime(2013, 5, 5, 12, 30)
>>> end = datetime(2013, 5, 5, 17, 15)
>>> for r in arrow.Arrow.range('hour', start, end):
...     print(repr(r))
...
<Arrow [2013-05-05T12:30:00+00:00]>
<Arrow [2013-05-05T13:30:00+00:00]>
<Arrow [2013-05-05T14:30:00+00:00]>
<Arrow [2013-05-05T15:30:00+00:00]>
<Arrow [2013-05-05T16:30:00+00:00]>

NOTE: Unlike Python’s range, end may be included in the returned iterator:

>>> start = datetime(2013, 5, 5, 12, 30)
>>> end = datetime(2013, 5, 5, 13, 30)
>>> for r in arrow.Arrow.range('hour', start, end):
...     print(repr(r))
...
<Arrow [2013-05-05T12:30:00+00:00]>
<Arrow [2013-05-05T13:30:00+00:00]>
replace(**kwargs)ΒΆ

Returns a new Arrow object with attributes updated according to inputs.

Use property names to set their value absolutely:

>>> import arrow
>>> arw = arrow.utcnow()
>>> arw
<Arrow [2013-05-11T22:27:34.787885+00:00]>
>>> arw.replace(year=2014, month=6)
<Arrow [2014-06-11T22:27:34.787885+00:00]>

You can also replace the timezone without conversion, using a timezone expression:

>>> arw.replace(tzinfo=tz.tzlocal())
<Arrow [2013-05-11T22:27:34.787885-07:00]>
shift(**kwargs)ΒΆ

Returns a new Arrow object with attributes updated according to inputs.

Use pluralized property names to relatively shift their current value:

>>> import arrow
>>> arw = arrow.utcnow()
>>> arw
<Arrow [2013-05-11T22:27:34.787885+00:00]>
>>> arw.shift(years=1, months=-1)
<Arrow [2014-04-11T22:27:34.787885+00:00]>

Day-of-the-week relative shifting can use either Python’s weekday numbers (Monday = 0, Tuesday = 1 .. Sunday = 6) or using dateutil.relativedelta’s day instances (MO, TU .. SU). When using weekday numbers, the returned date will always be greater than or equal to the starting date.

Using the above code (which is a Saturday) and asking it to shift to Saturday:

>>> arw.shift(weekday=5)
<Arrow [2013-05-11T22:27:34.787885+00:00]>

While asking for a Monday:

>>> arw.shift(weekday=0)
<Arrow [2013-05-13T22:27:34.787885+00:00]>
span(frame, count=1, bounds='[)')ΒΆ

Returns two new Arrow objects, representing the timespan of the Arrow object in a given timeframe.

Parameters:
  • frame – the timeframe. Can be any datetime property (day, hour, minute…).
  • count – (optional) the number of frames to span.
  • bounds – (optional) a str of either β€˜()’, β€˜(]’, β€˜[)’, or β€˜[]’ that specifies whether to include or exclude the start and end values in the span. β€˜(’ excludes the start, β€˜[’ includes the start, β€˜)’ excludes the end, and β€˜]’ includes the end. If the bounds are not specified, the default bound β€˜[)’ is used.

Supported frame values: year, quarter, month, week, day, hour, minute, second.

Usage:

>>> arrow.utcnow()
<Arrow [2013-05-09T03:32:36.186203+00:00]>

>>> arrow.utcnow().span('hour')
(<Arrow [2013-05-09T03:00:00+00:00]>, <Arrow [2013-05-09T03:59:59.999999+00:00]>)

>>> arrow.utcnow().span('day')
(<Arrow [2013-05-09T00:00:00+00:00]>, <Arrow [2013-05-09T23:59:59.999999+00:00]>)

>>> arrow.utcnow().span('day', count=2)
(<Arrow [2013-05-09T00:00:00+00:00]>, <Arrow [2013-05-10T23:59:59.999999+00:00]>)

>>> arrow.utcnow().span('day', bounds='[]')
(<Arrow [2013-05-09T00:00:00+00:00]>, <Arrow [2013-05-10T00:00:00+00:00]>)
classmethod span_range(frame, start, end, tz=None, limit=None, bounds='[)')ΒΆ

Returns an iterator of tuples, each Arrow objects, representing a series of timespans between two inputs.

Parameters:
  • frame – The timeframe. Can be any datetime property (day, hour, minute…).
  • start – A datetime expression, the start of the range.
  • end – (optional) A datetime expression, the end of the range.
  • tz – (optional) A timezone expression. Defaults to start’s timezone, or UTC if start is naive.
  • limit – (optional) A maximum number of tuples to return.
  • bounds – (optional) a str of either β€˜()’, β€˜(]’, β€˜[)’, or β€˜[]’ that specifies whether to include or exclude the start and end values in each span in the range. β€˜(’ excludes the start, β€˜[’ includes the start, β€˜)’ excludes the end, and β€˜]’ includes the end. If the bounds are not specified, the default bound β€˜[)’ is used.

NOTE: The end or limit must be provided. Call with end alone to return the entire range. Call with limit alone to return a maximum # of results from the start. Call with both to cap a range at a maximum # of results.

NOTE: tz internally replaces the timezones of both start and end before iterating. As such, either call with naive objects and tz, or aware objects from the same timezone and no tz.

Supported frame values: year, quarter, month, week, day, hour, minute, second.

Recognized datetime expressions:

  • An Arrow object.
  • A datetime object.

NOTE: Unlike Python’s range, end will always be included in the returned iterator of timespans.

Usage:

>>> start = datetime(2013, 5, 5, 12, 30)
>>> end = datetime(2013, 5, 5, 17, 15)
>>> for r in arrow.Arrow.span_range('hour', start, end):
...     print(r)
...
(<Arrow [2013-05-05T12:00:00+00:00]>, <Arrow [2013-05-05T12:59:59.999999+00:00]>)
(<Arrow [2013-05-05T13:00:00+00:00]>, <Arrow [2013-05-05T13:59:59.999999+00:00]>)
(<Arrow [2013-05-05T14:00:00+00:00]>, <Arrow [2013-05-05T14:59:59.999999+00:00]>)
(<Arrow [2013-05-05T15:00:00+00:00]>, <Arrow [2013-05-05T15:59:59.999999+00:00]>)
(<Arrow [2013-05-05T16:00:00+00:00]>, <Arrow [2013-05-05T16:59:59.999999+00:00]>)
(<Arrow [2013-05-05T17:00:00+00:00]>, <Arrow [2013-05-05T17:59:59.999999+00:00]>)
strftime(format)ΒΆ

Formats in the style of datetime.strftime.

Parameters:format – the format string.

Usage:

>>> arrow.utcnow().strftime('%d-%m-%Y %H:%M:%S')
'23-01-2019 12:28:17'
classmethod strptime(date_str, fmt, tzinfo=None)ΒΆ

Constructs an Arrow object from a date string and format, in the style of datetime.strptime. Optionally replaces the parsed timezone.

Parameters:
  • date_str – the date string.
  • fmt – the format string.
  • tzinfo – (optional) A timezone expression. Defaults to the parsed timezone if fmt contains a timezone directive, otherwise UTC.

Usage:

>>> arrow.Arrow.strptime('20-01-2019 15:49:10', '%d-%m-%Y %H:%M:%S')
<Arrow [2019-01-20T15:49:10+00:00]>
time()ΒΆ

Returns a time object with the same hour, minute, second, microsecond.

Usage:

>>> arrow.utcnow().time()
datetime.time(12, 15, 34, 68352)
timestampΒΆ

Returns a timestamp representation of the Arrow object, in UTC time.

Usage:

>>> arrow.utcnow().timestamp
1548260567
timetuple()ΒΆ

Returns a time.struct_time, in the current timezone.

Usage:

>>> arrow.utcnow().timetuple()
time.struct_time(tm_year=2019, tm_mon=1, tm_mday=20, tm_hour=15, tm_min=17, tm_sec=8, tm_wday=6, tm_yday=20, tm_isdst=0)
timetz()ΒΆ

Returns a time object with the same hour, minute, second, microsecond and tzinfo.

Usage:

>>> arrow.utcnow().timetz()
datetime.time(12, 5, 18, 298893, tzinfo=tzutc())
to(tz)ΒΆ

Returns a new Arrow object, converted to the target timezone.

Parameters:tz – A timezone expression.

Usage:

>>> utc = arrow.utcnow()
>>> utc
<Arrow [2013-05-09T03:49:12.311072+00:00]>

>>> utc.to('US/Pacific')
<Arrow [2013-05-08T20:49:12.311072-07:00]>

>>> utc.to(tz.tzlocal())
<Arrow [2013-05-08T20:49:12.311072-07:00]>

>>> utc.to('-07:00')
<Arrow [2013-05-08T20:49:12.311072-07:00]>

>>> utc.to('local')
<Arrow [2013-05-08T20:49:12.311072-07:00]>

>>> utc.to('local').to('utc')
<Arrow [2013-05-09T03:49:12.311072+00:00]>
toordinal()ΒΆ

Returns the proleptic Gregorian ordinal of the date.

Usage:

>>> arrow.utcnow().toordinal()
737078
tzinfoΒΆ

Gets the tzinfo of the Arrow object.

Usage:

>>> arw=arrow.utcnow()
>>> arw.tzinfo
tzutc()
classmethod utcfromtimestamp(timestamp)ΒΆ

Constructs an Arrow object from a timestamp, in UTC time.

Parameters:timestamp – an int or float timestamp, or a str that converts to either.
classmethod utcnow()ΒΆ

Constructs an Arrow object, representing β€œnow” in UTC time.

Usage:

>>> arrow.utcnow()
<Arrow [2019-01-24T16:31:40.651108+00:00]>
utcoffset()ΒΆ

Returns a timedelta object representing the whole number of minutes difference from UTC time.

Usage:

>>> arrow.now('US/Pacific').utcoffset()
datetime.timedelta(-1, 57600)
utctimetuple()ΒΆ

Returns a time.struct_time, in UTC time.

Usage:

>>> arrow.utcnow().utctimetuple()
time.struct_time(tm_year=2019, tm_mon=1, tm_mday=19, tm_hour=21, tm_min=41, tm_sec=7, tm_wday=5, tm_yday=19, tm_isdst=0)
weekday()ΒΆ

Returns the day of the week as an integer (0-6).

Usage:

>>> arrow.utcnow().weekday()
5

arrow.factoryΒΆ

Implements the ArrowFactory class, providing factory methods for common Arrow construction scenarios.

class arrow.factory.ArrowFactory(type=<class 'arrow.arrow.Arrow'>)ΒΆ

A factory for generating Arrow objects.

Parameters:type – (optional) the Arrow-based class to construct from. Defaults to Arrow.
get(*args, **kwargs)ΒΆ

Returns an Arrow object based on flexible inputs.

Parameters:
  • locale – (optional) a str specifying a locale for the parser. Defaults to β€˜en_us’.
  • tzinfo – (optional) a timezone expression or tzinfo object. Replaces the timezone unless using an input form that is explicitly UTC or specifies the timezone in a positional argument. Defaults to UTC.
  • normalize_whitespace – (optional) a bool specifying whether or not to normalize redundant whitespace (spaces, tabs, and newlines) in a datetime string before parsing. Defaults to false.

Usage:

>>> import arrow

No inputs to get current UTC time:

>>> arrow.get()
<Arrow [2013-05-08T05:51:43.316458+00:00]>

None to also get current UTC time:

>>> arrow.get(None)
<Arrow [2013-05-08T05:51:49.016458+00:00]>

One Arrow object, to get a copy.

>>> arw = arrow.utcnow()
>>> arrow.get(arw)
<Arrow [2013-10-23T15:21:54.354846+00:00]>

One float or int, convertible to a floating-point timestamp, to get that timestamp in UTC:

>>> arrow.get(1367992474.293378)
<Arrow [2013-05-08T05:54:34.293378+00:00]>

>>> arrow.get(1367992474)
<Arrow [2013-05-08T05:54:34+00:00]>

One ISO 8601-formatted str, to parse it:

>>> arrow.get('2013-09-29T01:26:43.830580')
<Arrow [2013-09-29T01:26:43.830580+00:00]>

One ISO 8601-formatted str, in basic format, to parse it:

>>> arrow.get('20160413T133656.456289')
<Arrow [2016-04-13T13:36:56.456289+00:00]>

One tzinfo, to get the current time converted to that timezone:

>>> arrow.get(tz.tzlocal())
<Arrow [2013-05-07T22:57:28.484717-07:00]>

One naive datetime, to get that datetime in UTC:

>>> arrow.get(datetime(2013, 5, 5))
<Arrow [2013-05-05T00:00:00+00:00]>

One aware datetime, to get that datetime:

>>> arrow.get(datetime(2013, 5, 5, tzinfo=tz.tzlocal()))
<Arrow [2013-05-05T00:00:00-07:00]>

One naive date, to get that date in UTC:

>>> arrow.get(date(2013, 5, 5))
<Arrow [2013-05-05T00:00:00+00:00]>

One time.struct time:

>>> arrow.get(gmtime(0))
<Arrow [1970-01-01T00:00:00+00:00]>

One iso calendar tuple, to get that week date in UTC:

>>> arrow.get((2013, 18, 7))
<Arrow [2013-05-05T00:00:00+00:00]>

Two arguments, a naive or aware datetime, and a replacement timezone expression:

>>> arrow.get(datetime(2013, 5, 5), 'US/Pacific')
<Arrow [2013-05-05T00:00:00-07:00]>

Two arguments, a naive date, and a replacement timezone expression:

>>> arrow.get(date(2013, 5, 5), 'US/Pacific')
<Arrow [2013-05-05T00:00:00-07:00]>

Two arguments, both str, to parse the first according to the format of the second:

>>> arrow.get('2013-05-05 12:30:45 America/Chicago', 'YYYY-MM-DD HH:mm:ss ZZZ')
<Arrow [2013-05-05T12:30:45-05:00]>

Two arguments, first a str to parse and second a list of formats to try:

>>> arrow.get('2013-05-05 12:30:45', ['MM/DD/YYYY', 'YYYY-MM-DD HH:mm:ss'])
<Arrow [2013-05-05T12:30:45+00:00]>

Three or more arguments, as for the constructor of a datetime:

>>> arrow.get(2013, 5, 5, 12, 30, 45)
<Arrow [2013-05-05T12:30:45+00:00]>
now(tz=None)ΒΆ

Returns an Arrow object, representing β€œnow” in the given timezone.

Parameters:tz – (optional) A timezone expression. Defaults to local time.

Usage:

>>> import arrow
>>> arrow.now()
<Arrow [2013-05-07T22:19:11.363410-07:00]>

>>> arrow.now('US/Pacific')
<Arrow [2013-05-07T22:19:15.251821-07:00]>

>>> arrow.now('+02:00')
<Arrow [2013-05-08T07:19:25.618646+02:00]>

>>> arrow.now('local')
<Arrow [2013-05-07T22:19:39.130059-07:00]>
utcnow()ΒΆ

Returns an Arrow object, representing β€œnow” in UTC time.

Usage:

>>> import arrow
>>> arrow.utcnow()
<Arrow [2013-05-08T05:19:07.018993+00:00]>

arrow.apiΒΆ

Provides the default implementation of ArrowFactory methods for use as a module API.

arrow.api.get(*args, **kwargs)ΒΆ

Returns an Arrow object based on flexible inputs.

Parameters:
  • locale – (optional) a str specifying a locale for the parser. Defaults to β€˜en_us’.
  • tzinfo – (optional) a timezone expression or tzinfo object. Replaces the timezone unless using an input form that is explicitly UTC or specifies the timezone in a positional argument. Defaults to UTC.
  • normalize_whitespace – (optional) a bool specifying whether or not to normalize redundant whitespace (spaces, tabs, and newlines) in a datetime string before parsing. Defaults to false.

Usage:

>>> import arrow

No inputs to get current UTC time:

>>> arrow.get()
<Arrow [2013-05-08T05:51:43.316458+00:00]>

None to also get current UTC time:

>>> arrow.get(None)
<Arrow [2013-05-08T05:51:49.016458+00:00]>

One Arrow object, to get a copy.

>>> arw = arrow.utcnow()
>>> arrow.get(arw)
<Arrow [2013-10-23T15:21:54.354846+00:00]>

One float or int, convertible to a floating-point timestamp, to get that timestamp in UTC:

>>> arrow.get(1367992474.293378)
<Arrow [2013-05-08T05:54:34.293378+00:00]>

>>> arrow.get(1367992474)
<Arrow [2013-05-08T05:54:34+00:00]>

One ISO 8601-formatted str, to parse it:

>>> arrow.get('2013-09-29T01:26:43.830580')
<Arrow [2013-09-29T01:26:43.830580+00:00]>

One ISO 8601-formatted str, in basic format, to parse it:

>>> arrow.get('20160413T133656.456289')
<Arrow [2016-04-13T13:36:56.456289+00:00]>

One tzinfo, to get the current time converted to that timezone:

>>> arrow.get(tz.tzlocal())
<Arrow [2013-05-07T22:57:28.484717-07:00]>

One naive datetime, to get that datetime in UTC:

>>> arrow.get(datetime(2013, 5, 5))
<Arrow [2013-05-05T00:00:00+00:00]>

One aware datetime, to get that datetime:

>>> arrow.get(datetime(2013, 5, 5, tzinfo=tz.tzlocal()))
<Arrow [2013-05-05T00:00:00-07:00]>

One naive date, to get that date in UTC:

>>> arrow.get(date(2013, 5, 5))
<Arrow [2013-05-05T00:00:00+00:00]>

One time.struct time:

>>> arrow.get(gmtime(0))
<Arrow [1970-01-01T00:00:00+00:00]>

One iso calendar tuple, to get that week date in UTC:

>>> arrow.get((2013, 18, 7))
<Arrow [2013-05-05T00:00:00+00:00]>

Two arguments, a naive or aware datetime, and a replacement timezone expression:

>>> arrow.get(datetime(2013, 5, 5), 'US/Pacific')
<Arrow [2013-05-05T00:00:00-07:00]>

Two arguments, a naive date, and a replacement timezone expression:

>>> arrow.get(date(2013, 5, 5), 'US/Pacific')
<Arrow [2013-05-05T00:00:00-07:00]>

Two arguments, both str, to parse the first according to the format of the second:

>>> arrow.get('2013-05-05 12:30:45 America/Chicago', 'YYYY-MM-DD HH:mm:ss ZZZ')
<Arrow [2013-05-05T12:30:45-05:00]>

Two arguments, first a str to parse and second a list of formats to try:

>>> arrow.get('2013-05-05 12:30:45', ['MM/DD/YYYY', 'YYYY-MM-DD HH:mm:ss'])
<Arrow [2013-05-05T12:30:45+00:00]>

Three or more arguments, as for the constructor of a datetime:

>>> arrow.get(2013, 5, 5, 12, 30, 45)
<Arrow [2013-05-05T12:30:45+00:00]>
arrow.api.utcnow()ΒΆ

Returns an Arrow object, representing β€œnow” in UTC time.

Usage:

>>> import arrow
>>> arrow.utcnow()
<Arrow [2013-05-08T05:19:07.018993+00:00]>
arrow.api.now(tz=None)ΒΆ

Returns an Arrow object, representing β€œnow” in the given timezone.

Parameters:tz – (optional) A timezone expression. Defaults to local time.

Usage:

>>> import arrow
>>> arrow.now()
<Arrow [2013-05-07T22:19:11.363410-07:00]>

>>> arrow.now('US/Pacific')
<Arrow [2013-05-07T22:19:15.251821-07:00]>

>>> arrow.now('+02:00')
<Arrow [2013-05-08T07:19:25.618646+02:00]>

>>> arrow.now('local')
<Arrow [2013-05-07T22:19:39.130059-07:00]>
arrow.api.factory(type)ΒΆ

Returns an ArrowFactory for the specified Arrow or derived type.

Parameters:type – the type, Arrow or derived.

arrow.localeΒΆ

class arrow.locales.AfrikaansLocaleΒΆ
day_abbreviations = [u'', u'Ma', u'Di', u'Wo', u'Do', u'Vr', u'Za', u'So']ΒΆ
day_names = [u'', u'Maandag', u'Dinsdag', u'Woensdag', u'Donderdag', u'Vrydag', u'Saterdag', u'Sondag']ΒΆ
future = u'in {0}'ΒΆ
month_abbreviations = [u'', u'Jan', u'Feb', u'Mrt', u'Apr', u'Mei', u'Jun', u'Jul', u'Aug', u'Sep', u'Okt', u'Nov', u'Des']ΒΆ
month_names = [u'', u'Januarie', u'Februarie', u'Maart', u'April', u'Mei', u'Junie', u'Julie', u'Augustus', u'September', u'Oktober', u'November', u'Desember']ΒΆ
names = [u'af', u'af_nl']ΒΆ
past = u'{0} gelede'ΒΆ
timeframes = {u'day': u'een dag', u'days': u'{0} dae', u'hour': u'uur', u'hours': u'{0} ure', u'minute': u'minuut', u'minutes': u'{0} minute', u'month': u'een maand', u'months': u'{0} maande', u'now': u'nou', u'second': u'n sekonde', u'seconds': u'{0} sekondes', u'year': u'een jaar', u'years': u'{0} jaar'}ΒΆ
class arrow.locales.AlgeriaTunisiaArabicLocaleΒΆ
month_abbreviations = [u'', u'\u062c\u0627\u0646\u0641\u064a', u'\u0641\u064a\u0641\u0631\u064a', u'\u0645\u0627\u0631\u0633', u'\u0623\u0641\u0631\u064a\u0644', u'\u0645\u0627\u064a', u'\u062c\u0648\u0627\u0646', u'\u062c\u0648\u064a\u0644\u064a\u0629', u'\u0623\u0648\u062a', u'\u0633\u0628\u062a\u0645\u0628\u0631', u'\u0623\u0643\u062a\u0648\u0628\u0631', u'\u0646\u0648\u0641\u0645\u0628\u0631', u'\u062f\u064a\u0633\u0645\u0628\u0631']ΒΆ
month_names = [u'', u'\u062c\u0627\u0646\u0641\u064a', u'\u0641\u064a\u0641\u0631\u064a', u'\u0645\u0627\u0631\u0633', u'\u0623\u0641\u0631\u064a\u0644', u'\u0645\u0627\u064a', u'\u062c\u0648\u0627\u0646', u'\u062c\u0648\u064a\u0644\u064a\u0629', u'\u0623\u0648\u062a', u'\u0633\u0628\u062a\u0645\u0628\u0631', u'\u0623\u0643\u062a\u0648\u0628\u0631', u'\u0646\u0648\u0641\u0645\u0628\u0631', u'\u062f\u064a\u0633\u0645\u0628\u0631']ΒΆ
names = [u'ar_tn', u'ar_dz']ΒΆ
class arrow.locales.ArabicLocaleΒΆ
day_abbreviations = [u'', u'\u0625\u062b\u0646\u064a\u0646', u'\u062b\u0644\u0627\u062b\u0627\u0621', u'\u0623\u0631\u0628\u0639\u0627\u0621', u'\u062e\u0645\u064a\u0633', u'\u062c\u0645\u0639\u0629', u'\u0633\u0628\u062a', u'\u0623\u062d\u062f']ΒΆ
day_names = [u'', u'\u0627\u0644\u0625\u062b\u0646\u064a\u0646', u'\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621', u'\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621', u'\u0627\u0644\u062e\u0645\u064a\u0633', u'\u0627\u0644\u062c\u0645\u0639\u0629', u'\u0627\u0644\u0633\u0628\u062a', u'\u0627\u0644\u0623\u062d\u062f']ΒΆ
future = u'\u062e\u0644\u0627\u0644 {0}'ΒΆ
month_abbreviations = [u'', u'\u064a\u0646\u0627\u064a\u0631', u'\u0641\u0628\u0631\u0627\u064a\u0631', u'\u0645\u0627\u0631\u0633', u'\u0623\u0628\u0631\u064a\u0644', u'\u0645\u0627\u064a\u0648', u'\u064a\u0648\u0646\u064a\u0648', u'\u064a\u0648\u0644\u064a\u0648', u'\u0623\u063a\u0633\u0637\u0633', u'\u0633\u0628\u062a\u0645\u0628\u0631', u'\u0623\u0643\u062a\u0648\u0628\u0631', u'\u0646\u0648\u0641\u0645\u0628\u0631', u'\u062f\u064a\u0633\u0645\u0628\u0631']ΒΆ
month_names = [u'', u'\u064a\u0646\u0627\u064a\u0631', u'\u0641\u0628\u0631\u0627\u064a\u0631', u'\u0645\u0627\u0631\u0633', u'\u0623\u0628\u0631\u064a\u0644', u'\u0645\u0627\u064a\u0648', u'\u064a\u0648\u0646\u064a\u0648', u'\u064a\u0648\u0644\u064a\u0648', u'\u0623\u063a\u0633\u0637\u0633', u'\u0633\u0628\u062a\u0645\u0628\u0631', u'\u0623\u0643\u062a\u0648\u0628\u0631', u'\u0646\u0648\u0641\u0645\u0628\u0631', u'\u062f\u064a\u0633\u0645\u0628\u0631']ΒΆ
names = [u'ar', u'ar_ae', u'ar_bh', u'ar_dj', u'ar_eg', u'ar_eh', u'ar_er', u'ar_km', u'ar_kw', u'ar_ly', u'ar_om', u'ar_qa', u'ar_sa', u'ar_sd', u'ar_so', u'ar_ss', u'ar_td', u'ar_ye']ΒΆ
past = u'\u0645\u0646\u0630 {0}'ΒΆ
timeframes = {u'day': u'\u064a\u0648\u0645', u'days': {u'double': u'\u064a\u0648\u0645\u064a\u0646', u'higher': u'{0} \u064a\u0648\u0645', u'ten': u'{0} \u0623\u064a\u0627\u0645'}, u'hour': u'\u0633\u0627\u0639\u0629', u'hours': {u'double': u'\u0633\u0627\u0639\u062a\u064a\u0646', u'higher': u'{0} \u0633\u0627\u0639\u0629', u'ten': u'{0} \u0633\u0627\u0639\u0627\u062a'}, u'minute': u'\u062f\u0642\u064a\u0642\u0629', u'minutes': {u'double': u'\u062f\u0642\u064a\u0642\u062a\u064a\u0646', u'higher': u'{0} \u062f\u0642\u064a\u0642\u0629', u'ten': u'{0} \u062f\u0642\u0627\u0626\u0642'}, u'month': u'\u0634\u0647\u0631', u'months': {u'double': u'\u0634\u0647\u0631\u064a\u0646', u'higher': u'{0} \u0634\u0647\u0631', u'ten': u'{0} \u0623\u0634\u0647\u0631'}, u'now': u'\u0627\u0644\u0622\u0646', u'second': u'\u062b\u0627\u0646\u064a\u0629', u'seconds': {u'double': u'\u062b\u0627\u0646\u064a\u062a\u064a\u0646', u'higher': u'{0} \u062b\u0627\u0646\u064a\u0629', u'ten': u'{0} \u062b\u0648\u0627\u0646'}, u'year': u'\u0633\u0646\u0629', u'years': {u'double': u'\u0633\u0646\u062a\u064a\u0646', u'higher': u'{0} \u0633\u0646\u0629', u'ten': u'{0} \u0633\u0646\u0648\u0627\u062a'}}ΒΆ
class arrow.locales.AustrianLocaleΒΆ
month_names = [u'', u'J\xe4nner', u'Februar', u'M\xe4rz', u'April', u'Mai', u'Juni', u'Juli', u'August', u'September', u'Oktober', u'November', u'Dezember']ΒΆ
names = [u'de_at']ΒΆ
class arrow.locales.AzerbaijaniLocaleΒΆ
day_abbreviations = [u'', u'Ber', u'\xc7ax', u'\xc7\u0259r', u'Cax', u'C\xfcm', u'\u015enb', u'Bzr']ΒΆ
day_names = [u'', u'Bazar ert\u0259si', u'\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131', u'\xc7\u0259r\u015f\u0259nb\u0259', u'C\xfcm\u0259 ax\u015fam\u0131', u'C\xfcm\u0259', u'\u015e\u0259nb\u0259', u'Bazar']ΒΆ
future = u'{0} sonra'ΒΆ
month_abbreviations = [u'', u'Yan', u'Fev', u'Mar', u'Apr', u'May', u'\u0130yn', u'\u0130yl', u'Avq', u'Sen', u'Okt', u'Noy', u'Dek']ΒΆ
month_names = [u'', u'Yanvar', u'Fevral', u'Mart', u'Aprel', u'May', u'\u0130yun', u'\u0130yul', u'Avqust', u'Sentyabr', u'Oktyabr', u'Noyabr', u'Dekabr']ΒΆ
names = [u'az', u'az_az']ΒΆ
past = u'{0} \u0259vv\u0259l'ΒΆ
timeframes = {u'day': u'bir g\xfcn', u'days': u'{0} g\xfcn', u'hour': u'bir saat', u'hours': u'{0} saat', u'minute': u'bir d\u0259qiq\u0259', u'minutes': u'{0} d\u0259qiq\u0259', u'month': u'bir ay', u'months': u'{0} ay', u'now': u'indi', u'second': u'saniy\u0259', u'seconds': u'{0} saniy\u0259', u'year': u'il', u'years': u'{0} il'}ΒΆ
class arrow.locales.BasqueLocaleΒΆ
day_abbreviations = [u'', u'al', u'ar', u'az', u'og', u'ol', u'lr', u'ig']ΒΆ
day_names = [u'', u'astelehena', u'asteartea', u'asteazkena', u'osteguna', u'ostirala', u'larunbata', u'igandea']ΒΆ
future = u'{0}'ΒΆ
month_abbreviations = [u'', u'urt', u'ots', u'mar', u'api', u'mai', u'eka', u'uzt', u'abu', u'ira', u'urr', u'aza', u'abe']ΒΆ
month_names = [u'', u'urtarrilak', u'otsailak', u'martxoak', u'apirilak', u'maiatzak', u'ekainak', u'uztailak', u'abuztuak', u'irailak', u'urriak', u'azaroak', u'abenduak']ΒΆ
names = [u'eu', u'eu_eu']ΒΆ
past = u'duela {0}'ΒΆ
timeframes = {u'day': u'egun bat', u'days': u'{0} egun', u'hour': u'ordu bat', u'hours': u'{0} ordu', u'minute': u'minutu bat', u'minutes': u'{0} minutu', u'month': u'hilabete bat', u'months': u'{0} hilabet', u'now': u'Orain', u'second': u'segundo bat', u'seconds': u'{0} segundu', u'year': u'urte bat', u'years': u'{0} urte'}ΒΆ
class arrow.locales.BelarusianLocaleΒΆ
day_abbreviations = [u'', u'\u043f\u043d', u'\u0430\u0442', u'\u0441\u0440', u'\u0447\u0446', u'\u043f\u0442', u'\u0441\u0431', u'\u043d\u0434']ΒΆ
day_names = [u'', u'\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a', u'\u0430\u045e\u0442\u043e\u0440\u0430\u043a', u'\u0441\u0435\u0440\u0430\u0434\u0430', u'\u0447\u0430\u0446\u0432\u0435\u0440', u'\u043f\u044f\u0442\u043d\u0456\u0446\u0430', u'\u0441\u0443\u0431\u043e\u0442\u0430', u'\u043d\u044f\u0434\u0437\u0435\u043b\u044f']ΒΆ
future = u'\u043f\u0440\u0430\u0437 {0}'ΒΆ
month_abbreviations = [u'', u'\u0441\u0442\u0443\u0434', u'\u043b\u044e\u0442', u'\u0441\u0430\u043a', u'\u043a\u0440\u0430\u0441', u'\u0442\u0440\u0430\u0432', u'\u0447\u044d\u0440\u0432', u'\u043b\u0456\u043f', u'\u0436\u043d\u0456\u0432', u'\u0432\u0435\u0440', u'\u043a\u0430\u0441\u0442', u'\u043b\u0456\u0441\u0442', u'\u0441\u043d\u0435\u0436']ΒΆ
month_names = [u'', u'\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f', u'\u043b\u044e\u0442\u0430\u0433\u0430', u'\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430', u'\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430', u'\u0442\u0440\u0430\u045e\u043d\u044f', u'\u0447\u044d\u0440\u0432\u0435\u043d\u044f', u'\u043b\u0456\u043f\u0435\u043d\u044f', u'\u0436\u043d\u0456\u045e\u043d\u044f', u'\u0432\u0435\u0440\u0430\u0441\u043d\u044f', u'\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430', u'\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430', u'\u0441\u043d\u0435\u0436\u043d\u044f']ΒΆ
names = [u'be', u'be_by']ΒΆ
past = u'{0} \u0442\u0430\u043c\u0443'ΒΆ
timeframes = {u'day': u'\u0434\u0437\u0435\u043d\u044c', u'days': [u'{0} \u0434\u0437\u0435\u043d\u044c', u'{0} \u0434\u043d\u0456', u'{0} \u0434\u0437\u0451\u043d'], u'hour': u'\u0433\u0430\u0434\u0437\u0456\u043d\u0443', u'hours': [u'{0} \u0433\u0430\u0434\u0437\u0456\u043d\u0443', u'{0} \u0433\u0430\u0434\u0437\u0456\u043d\u044b', u'{0} \u0433\u0430\u0434\u0437\u0456\u043d'], u'minute': u'\u0445\u0432\u0456\u043b\u0456\u043d\u0443', u'minutes': [u'{0} \u0445\u0432\u0456\u043b\u0456\u043d\u0443', u'{0} \u0445\u0432\u0456\u043b\u0456\u043d\u044b', u'{0} \u0445\u0432\u0456\u043b\u0456\u043d'], u'month': u'\u043c\u0435\u0441\u044f\u0446', u'months': [u'{0} \u043c\u0435\u0441\u044f\u0446', u'{0} \u043c\u0435\u0441\u044f\u0446\u044b', u'{0} \u043c\u0435\u0441\u044f\u0446\u0430\u045e'], u'now': u'\u0437\u0430\u0440\u0430\u0437', u'second': u'\u0441\u0435\u043a\u0443\u043d\u0434\u0443', u'seconds': u'{0} \u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434', u'year': u'\u0433\u043e\u0434', u'years': [u'{0} \u0433\u043e\u0434', u'{0} \u0433\u0430\u0434\u044b', u'{0} \u0433\u0430\u0434\u043e\u045e']}ΒΆ
class arrow.locales.BengaliLocaleΒΆ
day_abbreviations = [u'', u'\u09b8\u09cb\u09ae', u'\u09ae\u0999\u09cd\u0997\u09b2', u'\u09ac\u09c1\u09a7', u'\u09ac\u09c3\u09b9\u0983', u'\u09b6\u09c1\u0995\u09cd\u09b0', u'\u09b6\u09a8\u09bf', u'\u09b0\u09ac\u09bf']ΒΆ
day_names = [u'', u'\u09b8\u09cb\u09ae\u09ac\u09be\u09b0', u'\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0', u'\u09ac\u09c1\u09a7\u09ac\u09be\u09b0', u'\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0', u'\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0', u'\u09b6\u09a8\u09bf\u09ac\u09be\u09b0', u'\u09b0\u09ac\u09bf\u09ac\u09be\u09b0']ΒΆ
future = u'{0} \u09aa\u09b0\u09c7'ΒΆ
meridians = {u'AM': u'\u09b8\u0995\u09be\u09b2', u'PM': u'\u09ac\u09bf\u0995\u09be\u09b2', u'am': u'\u09b8\u0995\u09be\u09b2', u'pm': u'\u09ac\u09bf\u0995\u09be\u09b2'}ΒΆ
month_abbreviations = [u'', u'\u099c\u09be\u09a8\u09c1', u'\u09ab\u09c7\u09ac', u'\u09ae\u09be\u09b0\u09cd\u099a', u'\u098f\u09aa\u09cd\u09b0\u09bf', u'\u09ae\u09c7', u'\u099c\u09c1\u09a8', u'\u099c\u09c1\u09b2', u'\u0985\u0997\u09be', u'\u09b8\u09c7\u09aa\u09cd\u099f', u'\u0985\u0995\u09cd\u099f\u09cb', u'\u09a8\u09ad\u09c7', u'\u09a1\u09bf\u09b8\u09c7']ΒΆ
month_names = [u'', u'\u099c\u09be\u09a8\u09c1\u09af\u09bc\u09be\u09b0\u09bf', u'\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf', u'\u09ae\u09be\u09b0\u09cd\u099a', u'\u098f\u09aa\u09cd\u09b0\u09bf\u09b2', u'\u09ae\u09c7', u'\u099c\u09c1\u09a8', u'\u099c\u09c1\u09b2\u09be\u0987', u'\u0986\u0997\u09b8\u09cd\u099f', u'\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0', u'\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0', u'\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0', u'\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0']ΒΆ
names = [u'bn', u'bn_bd', u'bn_in']ΒΆ
past = u'{0} \u0986\u0997\u09c7'ΒΆ
timeframes = {u'day': u'\u098f\u0995 \u09a6\u09bf\u09a8', u'days': u'{0} \u09a6\u09bf\u09a8', u'hour': u'\u098f\u0995 \u0998\u09a3\u09cd\u099f\u09be', u'hours': u'{0} \u0998\u09a3\u09cd\u099f\u09be', u'minute': u'\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f', u'minutes': u'{0} \u09ae\u09bf\u09a8\u09bf\u099f', u'month': u'\u098f\u0995 \u09ae\u09be\u09b8', u'months': u'{0} \u09ae\u09be\u09b8 ', u'now': u'\u098f\u0996\u09a8', u'second': u'\u098f\u0995\u099f\u09bf \u09a6\u09cd\u09ac\u09bf\u09a4\u09c0\u09af\u09bc', u'seconds': u'{0} \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1', u'year': u'\u098f\u0995 \u09ac\u099b\u09b0', u'years': u'{0} \u09ac\u099b\u09b0'}ΒΆ
class arrow.locales.BrazilianPortugueseLocaleΒΆ
names = [u'pt_br']ΒΆ
past = u'faz {0}'ΒΆ
class arrow.locales.BulgarianLocaleΒΆ
day_abbreviations = [u'', u'\u043f\u043e\u043d', u'\u0432\u0442', u'\u0441\u0440', u'\u0447\u0435\u0442\u0432', u'\u043f\u0435\u0442', u'\u0441\u044a\u0431', u'\u043d\u0435\u0434']ΒΆ
day_names = [u'', u'\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a', u'\u0432\u0442\u043e\u0440\u043d\u0438\u043a', u'\u0441\u0440\u044f\u0434\u0430', u'\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a', u'\u043f\u0435\u0442\u044a\u043a', u'\u0441\u044a\u0431\u043e\u0442\u0430', u'\u043d\u0435\u0434\u0435\u043b\u044f']ΒΆ
future = u'\u043d\u0430\u043f\u0440\u0435\u0434 {0}'ΒΆ
month_abbreviations = [u'', u'\u044f\u043d', u'\u0444\u0435\u0432\u0440', u'\u043c\u0430\u0440\u0442', u'\u0430\u043f\u0440', u'\u043c\u0430\u0439', u'\u044e\u043d\u0438', u'\u044e\u043b\u0438', u'\u0430\u0432\u0433', u'\u0441\u0435\u043f\u0442', u'\u043e\u043a\u0442', u'\u043d\u043e\u0435\u043c', u'\u0434\u0435\u043a']ΒΆ
month_names = [u'', u'\u044f\u043d\u0443\u0430\u0440\u0438', u'\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438', u'\u043c\u0430\u0440\u0442', u'\u0430\u043f\u0440\u0438\u043b', u'\u043c\u0430\u0439', u'\u044e\u043d\u0438', u'\u044e\u043b\u0438', u'\u0430\u0432\u0433\u0443\u0441\u0442', u'\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438', u'\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438', u'\u043d\u043e\u0435\u043c\u0432\u0440\u0438', u'\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438']ΒΆ
names = [u'bg', u'bg_BG']ΒΆ
past = u'{0} \u043d\u0430\u0437\u0430\u0434'ΒΆ
timeframes = {u'day': u'\u0434\u0435\u043d', u'days': [u'{0} \u0434\u0435\u043d', u'{0} \u0434\u043d\u0438', u'{0} \u0434\u043d\u0438'], u'hour': u'\u0447\u0430\u0441', u'hours': [u'{0} \u0447\u0430\u0441', u'{0} \u0447\u0430\u0441\u0430', u'{0} \u0447\u0430\u0441\u0430'], u'minute': u'\u043c\u0438\u043d\u0443\u0442\u0430', u'minutes': [u'{0} \u043c\u0438\u043d\u0443\u0442\u0430', u'{0} \u043c\u0438\u043d\u0443\u0442\u0438', u'{0} \u043c\u0438\u043d\u0443\u0442\u0438'], u'month': u'\u043c\u0435\u0441\u0435\u0446', u'months': [u'{0} \u043c\u0435\u0441\u0435\u0446', u'{0} \u043c\u0435\u0441\u0435\u0446\u0430', u'{0} \u043c\u0435\u0441\u0435\u0446\u0430'], u'now': u'\u0441\u0435\u0433\u0430', u'second': u'\u0441\u0435\u043a\u0443\u043d\u0434\u0430', u'seconds': u'{0} \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438', u'year': u'\u0433\u043e\u0434\u0438\u043d\u0430', u'years': [u'{0} \u0433\u043e\u0434\u0438\u043d\u0430', u'{0} \u0433\u043e\u0434\u0438\u043d\u0438', u'{0} \u0433\u043e\u0434\u0438\u043d\u0438']}ΒΆ
class arrow.locales.CatalanLocaleΒΆ
and_word = u'i'ΒΆ
day_abbreviations = [u'', u'dl.', u'dt.', u'dc.', u'dj.', u'dv.', u'ds.', u'dg.']ΒΆ
day_names = [u'', u'dilluns', u'dimarts', u'dimecres', u'dijous', u'divendres', u'dissabte', u'diumenge']ΒΆ
future = u'En {0}'ΒΆ
month_abbreviations = [u'', u'gen.', u'febr.', u'mar\xe7', u'abr.', u'maig', u'juny', u'jul.', u'ag.', u'set.', u'oct.', u'nov.', u'des.']ΒΆ
month_names = [u'', u'gener', u'febrer', u'mar\xe7', u'abril', u'maig', u'juny', u'juliol', u'agost', u'setembre', u'octubre', u'novembre', u'desembre']ΒΆ
names = [u'ca', u'ca_es', u'ca_ad', u'ca_fr', u'ca_it']ΒΆ
past = u'Fa {0}'ΒΆ
timeframes = {u'day': u'un dia', u'days': u'{0} dies', u'hour': u'una hora', u'hours': u'{0} hores', u'minute': u'1 minut', u'minutes': u'{0} minuts', u'month': u'un mes', u'months': u'{0} mesos', u'now': u'Ara mateix', u'second': u'un segon', u'seconds': u'{0} segons', u'year': u'un any', u'years': u'{0} anys'}ΒΆ
class arrow.locales.ChineseCNLocaleΒΆ
day_abbreviations = [u'', u'\u4e00', u'\u4e8c', u'\u4e09', u'\u56db', u'\u4e94', u'\u516d', u'\u65e5']ΒΆ
day_names = [u'', u'\u661f\u671f\u4e00', u'\u661f\u671f\u4e8c', u'\u661f\u671f\u4e09', u'\u661f\u671f\u56db', u'\u661f\u671f\u4e94', u'\u661f\u671f\u516d', u'\u661f\u671f\u65e5']ΒΆ
future = u'{0}\u540e'ΒΆ
month_abbreviations = [u'', u' 1', u' 2', u' 3', u' 4', u' 5', u' 6', u' 7', u' 8', u' 9', u'10', u'11', u'12']ΒΆ
month_names = [u'', u'\u4e00\u6708', u'\u4e8c\u6708', u'\u4e09\u6708', u'\u56db\u6708', u'\u4e94\u6708', u'\u516d\u6708', u'\u4e03\u6708', u'\u516b\u6708', u'\u4e5d\u6708', u'\u5341\u6708', u'\u5341\u4e00\u6708', u'\u5341\u4e8c\u6708']ΒΆ
names = [u'zh', u'zh_cn']ΒΆ
past = u'{0}\u524d'ΒΆ
timeframes = {u'day': u'1\u5929', u'days': u'{0}\u5929', u'hour': u'1\u5c0f\u65f6', u'hours': u'{0}\u5c0f\u65f6', u'minute': u'1\u5206\u949f', u'minutes': u'{0}\u5206\u949f', u'month': u'1\u4e2a\u6708', u'months': u'{0}\u4e2a\u6708', u'now': u'\u521a\u624d', u'second': u'\u4e00\u79d2', u'seconds': u'{0}\u79d2', u'week': u'\u4e00\u5468', u'weeks': u'{0}\u5468', u'year': u'1\u5e74', u'years': u'{0}\u5e74'}ΒΆ
class arrow.locales.ChineseTWLocaleΒΆ
and_word = u'\u548c'ΒΆ
day_abbreviations = [u'', u'\u4e00', u'\u4e8c', u'\u4e09', u'\u56db', u'\u4e94', u'\u516d', u'\u65e5']ΒΆ
day_names = [u'', u'\u9031\u4e00', u'\u9031\u4e8c', u'\u9031\u4e09', u'\u9031\u56db', u'\u9031\u4e94', u'\u9031\u516d', u'\u9031\u65e5']ΒΆ
future = u'{0}\u5f8c'ΒΆ
month_abbreviations = [u'', u' 1', u' 2', u' 3', u' 4', u' 5', u' 6', u' 7', u' 8', u' 9', u'10', u'11', u'12']ΒΆ
month_names = [u'', u'1\u6708', u'2\u6708', u'3\u6708', u'4\u6708', u'5\u6708', u'6\u6708', u'7\u6708', u'8\u6708', u'9\u6708', u'10\u6708', u'11\u6708', u'12\u6708']ΒΆ
names = [u'zh_tw']ΒΆ
past = u'{0}\u524d'ΒΆ
timeframes = {u'day': u'1\u5929', u'days': u'{0}\u5929', u'hour': u'1\u5c0f\u6642', u'hours': u'{0}\u5c0f\u6642', u'minute': u'1\u5206\u9418', u'minutes': u'{0}\u5206\u9418', u'month': u'1\u500b\u6708', u'months': u'{0}\u500b\u6708', u'now': u'\u525b\u624d', u'second': u'1\u79d2', u'seconds': u'{0}\u79d2', u'week': u'1\u9031', u'weeks': u'{0}\u9031', u'year': u'1\u5e74', u'years': u'{0}\u5e74'}ΒΆ
class arrow.locales.CzechLocaleΒΆ
day_abbreviations = [u'', u'po', u'\xfat', u'st', u'\u010dt', u'p\xe1', u'so', u'ne']ΒΆ
day_names = [u'', u'pond\u011bl\xed', u'\xfater\xfd', u'st\u0159eda', u'\u010dtvrtek', u'p\xe1tek', u'sobota', u'ned\u011ble']ΒΆ
future = u'Za {0}'ΒΆ
month_abbreviations = [u'', u'led', u'\xfano', u'b\u0159e', u'dub', u'kv\u011b', u'\u010dvn', u'\u010dvc', u'srp', u'z\xe1\u0159', u'\u0159\xedj', u'lis', u'pro']ΒΆ
month_names = [u'', u'leden', u'\xfanor', u'b\u0159ezen', u'duben', u'kv\u011bten', u'\u010derven', u'\u010dervenec', u'srpen', u'z\xe1\u0159\xed', u'\u0159\xedjen', u'listopad', u'prosinec']ΒΆ
names = [u'cs', u'cs_cz']ΒΆ
past = u'P\u0159ed {0}'ΒΆ
timeframes = {u'day': {u'future': u'den', u'past': u'dnem', u'zero': u'{0} dn\u016f'}, u'days': {u'future': [u'{0} dny', u'{0} dn\u016f'], u'past': u'{0} dny'}, u'hour': {u'future': u'hodinu', u'past': u'hodinou', u'zero': u'{0} hodin'}, u'hours': {u'future': [u'{0} hodiny', u'{0} hodin'], u'past': u'{0} hodinami'}, u'minute': {u'future': u'minutu', u'past': u'minutou', u'zero': u'{0} minut'}, u'minutes': {u'future': [u'{0} minuty', u'{0} minut'], u'past': u'{0} minutami'}, u'month': {u'future': u'm\u011bs\xedc', u'past': u'm\u011bs\xedcem', u'zero': u'{0} m\u011bs\xedc\u016f'}, u'months': {u'future': [u'{0} m\u011bs\xedce', u'{0} m\u011bs\xedc\u016f'], u'past': u'{0} m\u011bs\xedci'}, u'now': u'Te\u010f', u'second': {u'future': u'vte\u0159ina', u'past': u'vte\u0159ina', u'zero': u'vte\u0159ina'}, u'seconds': {u'future': [u'{0} sekundy', u'{0} sekund'], u'past': u'{0} sekundami'}, u'week': {u'future': u't\xfdden', u'past': u't\xfddnem', u'zero': u'{0} t\xfddn\u016f'}, u'weeks': {u'future': [u'{0} t\xfddny', u'{0} t\xfddn\u016f'], u'past': u'{0} t\xfddny'}, u'year': {u'future': u'rok', u'past': u'rokem', u'zero': u'{0} let'}, u'years': {u'future': [u'{0} roky', u'{0} let'], u'past': u'{0} lety'}}ΒΆ
class arrow.locales.DanishLocaleΒΆ
and_word = u'og'ΒΆ
day_abbreviations = [u'', u'man', u'tir', u'ons', u'tor', u'fre', u'l\xf8r', u's\xf8n']ΒΆ
day_names = [u'', u'mandag', u'tirsdag', u'onsdag', u'torsdag', u'fredag', u'l\xf8rdag', u's\xf8ndag']ΒΆ
future = u'efter {0}'ΒΆ
month_abbreviations = [u'', u'jan', u'feb', u'mar', u'apr', u'maj', u'jun', u'jul', u'aug', u'sep', u'okt', u'nov', u'dec']ΒΆ
month_names = [u'', u'januar', u'februar', u'marts', u'april', u'maj', u'juni', u'juli', u'august', u'september', u'oktober', u'november', u'december']ΒΆ
names = [u'da', u'da_dk']ΒΆ
past = u'for {0} siden'ΒΆ
timeframes = {u'day': u'en dag', u'days': u'{0} dage', u'hour': u'en time', u'hours': u'{0} timer', u'minute': u'et minut', u'minutes': u'{0} minutter', u'month': u'en m\xe5ned', u'months': u'{0} m\xe5neder', u'now': u'lige nu', u'second': u'et sekund', u'seconds': u'{0} et par sekunder', u'year': u'et \xe5r', u'years': u'{0} \xe5r'}ΒΆ
class arrow.locales.DutchLocaleΒΆ
day_abbreviations = [u'', u'ma', u'di', u'wo', u'do', u'vr', u'za', u'zo']ΒΆ
day_names = [u'', u'maandag', u'dinsdag', u'woensdag', u'donderdag', u'vrijdag', u'zaterdag', u'zondag']ΒΆ
future = u'over {0}'ΒΆ
month_abbreviations = [u'', u'jan', u'feb', u'mrt', u'apr', u'mei', u'jun', u'jul', u'aug', u'sep', u'okt', u'nov', u'dec']ΒΆ
month_names = [u'', u'januari', u'februari', u'maart', u'april', u'mei', u'juni', u'juli', u'augustus', u'september', u'oktober', u'november', u'december']ΒΆ
names = [u'nl', u'nl_nl']ΒΆ
past = u'{0} geleden'ΒΆ
timeframes = {u'day': u'een dag', u'days': u'{0} dagen', u'hour': u'een uur', u'hours': u'{0} uur', u'minute': u'een minuut', u'minutes': u'{0} minuten', u'month': u'een maand', u'months': u'{0} maanden', u'now': u'nu', u'second': u'een seconde', u'seconds': u'{0} seconden', u'week': u'een week', u'weeks': u'{0} weken', u'year': u'een jaar', u'years': u'{0} jaar'}ΒΆ
class arrow.locales.EnglishLocaleΒΆ
and_word = u'and'ΒΆ
day_abbreviations = [u'', u'Mon', u'Tue', u'Wed', u'Thu', u'Fri', u'Sat', u'Sun']ΒΆ
day_names = [u'', u'Monday', u'Tuesday', u'Wednesday', u'Thursday', u'Friday', u'Saturday', u'Sunday']ΒΆ
describe(timeframe, delta=0, only_distance=False)ΒΆ

Describes a delta within a timeframe in plain language.

Parameters:
  • timeframe – a string representing a timeframe.
  • delta – a quantity representing a delta in a timeframe.
  • only_distance – return only distance eg: β€œ11 seconds” without β€œin” or β€œago” keywords
future = u'in {0}'ΒΆ
meridians = {u'AM': u'AM', u'PM': u'PM', u'am': u'am', u'pm': u'pm'}ΒΆ
month_abbreviations = [u'', u'Jan', u'Feb', u'Mar', u'Apr', u'May', u'Jun', u'Jul', u'Aug', u'Sep', u'Oct', u'Nov', u'Dec']ΒΆ
month_names = [u'', u'January', u'February', u'March', u'April', u'May', u'June', u'July', u'August', u'September', u'October', u'November', u'December']ΒΆ
names = [u'en', u'en_us', u'en_gb', u'en_au', u'en_be', u'en_jp', u'en_za', u'en_ca', u'en_ph']ΒΆ
ordinal_day_re = u'((?P<value>[2-3]?1(?=st)|[2-3]?2(?=nd)|[2-3]?3(?=rd)|[1-3]?[04-9](?=th)|1[1-3](?=th))(st|nd|rd|th))'ΒΆ
past = u'{0} ago'ΒΆ
timeframes = {u'day': u'a day', u'days': u'{0} days', u'hour': u'an hour', u'hours': u'{0} hours', u'minute': u'a minute', u'minutes': u'{0} minutes', u'month': u'a month', u'months': u'{0} months', u'now': u'just now', u'second': u'a second', u'seconds': u'{0} seconds', u'week': u'a week', u'weeks': u'{0} weeks', u'year': u'a year', u'years': u'{0} years'}ΒΆ
class arrow.locales.EsperantoLocaleΒΆ
day_abbreviations = [u'', u'lun', u'mar', u'mer', u'\u0135a\u016d', u'ven', u'sab', u'dim']ΒΆ
day_names = [u'', u'lundo', u'mardo', u'merkredo', u'\u0135a\u016ddo', u'vendredo', u'sabato', u'diman\u0109o']ΒΆ
future = u'post {0}'ΒΆ
meridians = {u'AM': u'ATM', u'PM': u'PTM', u'am': u'atm', u'pm': u'ptm'}ΒΆ
month_abbreviations = [u'', u'jan', u'feb', u'mar', u'apr', u'maj', u'jun', u'jul', u'a\u016dg', u'sep', u'okt', u'nov', u'dec']ΒΆ
month_names = [u'', u'januaro', u'februaro', u'marto', u'aprilo', u'majo', u'junio', u'julio', u'a\u016dgusto', u'septembro', u'oktobro', u'novembro', u'decembro']ΒΆ
names = [u'eo', u'eo_xx']ΒΆ
ordinal_day_re = u'((?P<value>[1-3]?[0-9](?=a))a)'ΒΆ
past = u'anta\u016d {0}'ΒΆ
timeframes = {u'day': u'unu tago', u'days': u'{0} tagoj', u'hour': u'un horo', u'hours': u'{0} horoj', u'minute': u'unu minuto', u'minutes': u'{0} minutoj', u'month': u'unu monato', u'months': u'{0} monatoj', u'now': u'nun', u'second': u'sekundo', u'seconds': u'{0} kelkaj sekundoj', u'year': u'unu jaro', u'years': u'{0} jaroj'}ΒΆ
class arrow.locales.EstonianLocaleΒΆ
and_word = u'ja'ΒΆ
day_abbreviations = [u'', u'Esm', u'Teis', u'Kolm', u'Nelj', u'Re', u'Lau', u'P\xfch']ΒΆ
day_names = [u'', u'Esmasp\xe4ev', u'Teisip\xe4ev', u'Kolmap\xe4ev', u'Neljap\xe4ev', u'Reede', u'Laup\xe4ev', u'P\xfchap\xe4ev']ΒΆ
future = u'{0} p\xe4rast'ΒΆ
month_abbreviations = [u'', u'Jan', u'Veb', u'M\xe4r', u'Apr', u'Mai', u'Jun', u'Jul', u'Aug', u'Sep', u'Okt', u'Nov', u'Dets']ΒΆ
month_names = [u'', u'Jaanuar', u'Veebruar', u'M\xe4rts', u'Aprill', u'Mai', u'Juuni', u'Juuli', u'August', u'September', u'Oktoober', u'November', u'Detsember']ΒΆ
names = [u'ee', u'et']ΒΆ
past = u'{0} tagasi'ΒΆ
timeframes = {u'day': {u'future': u'\xfche p\xe4eva', u'past': u'\xfcks p\xe4ev'}, u'days': {u'future': u'{0} p\xe4eva', u'past': u'{0} p\xe4eva'}, u'hour': {u'future': u'tunni aja', u'past': u'tund aega'}, u'hours': {u'future': u'{0} tunni', u'past': u'{0} tundi'}, u'minute': {u'future': u'\xfche minuti', u'past': u'\xfcks minut'}, u'minutes': {u'future': u'{0} minuti', u'past': u'{0} minutit'}, u'month': {u'future': u'\xfche kuu', u'past': u'\xfcks kuu'}, u'months': {u'future': u'{0} kuu', u'past': u'{0} kuud'}, u'now': {u'future': u'just n\xfc\xfcd', u'past': u'just n\xfc\xfcd'}, u'second': {u'future': u'\xfche sekundi', u'past': u'\xfcks sekund'}, u'seconds': {u'future': u'{0} sekundi', u'past': u'{0} sekundit'}, u'year': {u'future': u'\xfche aasta', u'past': u'\xfcks aasta'}, u'years': {u'future': u'{0} aasta', u'past': u'{0} aastat'}}ΒΆ
class arrow.locales.FarsiLocaleΒΆ
day_abbreviations = [u'', u'Mon', u'Tue', u'Wed', u'Thu', u'Fri', u'Sat', u'Sun']ΒΆ
day_names = [u'', u'\u062f\u0648 \u0634\u0646\u0628\u0647', u'\u0633\u0647 \u0634\u0646\u0628\u0647', u'\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647', u'\u067e\u0646\u062c\u0634\u0646\u0628\u0647', u'\u062c\u0645\u0639\u0647', u'\u0634\u0646\u0628\u0647', u'\u06cc\u06a9\u0634\u0646\u0628\u0647']ΒΆ
future = u'\u062f\u0631 {0}'ΒΆ
meridians = {u'AM': u'\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631', u'PM': u'\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631', u'am': u'\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631', u'pm': u'\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631'}ΒΆ
month_abbreviations = [u'', u'Jan', u'Feb', u'Mar', u'Apr', u'May', u'Jun', u'Jul', u'Aug', u'Sep', u'Oct', u'Nov', u'Dec']ΒΆ
month_names = [u'', u'January', u'February', u'March', u'April', u'May', u'June', u'July', u'August', u'September', u'October', u'November', u'December']ΒΆ
names = [u'fa', u'fa_ir']ΒΆ
past = u'{0} \u0642\u0628\u0644'ΒΆ
timeframes = {u'day': u'\u06cc\u06a9 \u0631\u0648\u0632', u'days': u'{0} \u0631\u0648\u0632', u'hour': u'\u06cc\u06a9 \u0633\u0627\u0639\u062a', u'hours': u'{0} \u0633\u0627\u0639\u062a', u'minute': u'\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647', u'minutes': u'{0} \u062f\u0642\u06cc\u0642\u0647', u'month': u'\u06cc\u06a9 \u0645\u0627\u0647', u'months': u'{0} \u0645\u0627\u0647', u'now': u'\u0627\u06a9\u0646\u0648\u0646', u'second': u'\u06cc\u06a9 \u0644\u062d\u0638\u0647', u'seconds': u'{0} \u062b\u0627\u0646\u06cc\u0647', u'year': u'\u06cc\u06a9 \u0633\u0627\u0644', u'years': u'{0} \u0633\u0627\u0644'}ΒΆ
class arrow.locales.FinnishLocaleΒΆ
day_abbreviations = [u'', u'ma', u'ti', u'ke', u'to', u'pe', u'la', u'su']ΒΆ
day_names = [u'', u'maanantai', u'tiistai', u'keskiviikko', u'torstai', u'perjantai', u'lauantai', u'sunnuntai']ΒΆ
future = u'{0} kuluttua'ΒΆ
month_abbreviations = [u'', u'tammi', u'helmi', u'maalis', u'huhti', u'touko', u'kes\xe4', u'hein\xe4', u'elo', u'syys', u'loka', u'marras', u'joulu']ΒΆ
month_names = [u'', u'tammikuu', u'helmikuu', u'maaliskuu', u'huhtikuu', u'toukokuu', u'kes\xe4kuu', u'hein\xe4kuu', u'elokuu', u'syyskuu', u'lokakuu', u'marraskuu', u'joulukuu']ΒΆ
names = [u'fi', u'fi_fi']ΒΆ
past = u'{0} sitten'ΒΆ
timeframes = {u'day': [u'p\xe4iv\xe4', u'p\xe4iv\xe4'], u'days': [u'{0} p\xe4iv\xe4\xe4', u'{0} p\xe4iv\xe4n'], u'hour': [u'tunti', u'tunnin'], u'hours': [u'{0} tuntia', u'{0} tunnin'], u'minute': [u'minuutti', u'minuutin'], u'minutes': [u'{0} minuuttia', u'{0} minuutin'], u'month': [u'kuukausi', u'kuukauden'], u'months': [u'{0} kuukautta', u'{0} kuukauden'], u'now': [u'juuri nyt', u'juuri nyt'], u'second': [u'sekunti', u'sekunti'], u'seconds': [u'{0} muutama sekunti', u'{0} muutaman sekunnin'], u'year': [u'vuosi', u'vuoden'], u'years': [u'{0} vuotta', u'{0} vuoden']}ΒΆ
class arrow.locales.FrenchBaseLocaleΒΆ
and_word = u'et'ΒΆ
day_abbreviations = [u'', u'lun', u'mar', u'mer', u'jeu', u'ven', u'sam', u'dim']ΒΆ
day_names = [u'', u'lundi', u'mardi', u'mercredi', u'jeudi', u'vendredi', u'samedi', u'dimanche']ΒΆ
future = u'dans {0}'ΒΆ
month_names = [u'', u'janvier', u'f\xe9vrier', u'mars', u'avril', u'mai', u'juin', u'juillet', u'ao\xfbt', u'septembre', u'octobre', u'novembre', u'd\xe9cembre']ΒΆ
ordinal_day_re = u'((?P<value>\\b1(?=er\\b)|[1-3]?[02-9](?=e\\b)|[1-3]1(?=e\\b))(er|e)\\b)'ΒΆ
past = u'il y a {0}'ΒΆ
timeframes = {u'day': u'un jour', u'days': u'{0} jours', u'hour': u'une heure', u'hours': u'{0} heures', u'minute': u'une minute', u'minutes': u'{0} minutes', u'month': u'un mois', u'months': u'{0} mois', u'now': u'maintenant', u'second': u'une seconde', u'seconds': u'{0} quelques secondes', u'week': u'une semaine', u'weeks': u'{0} semaines', u'year': u'un an', u'years': u'{0} ans'}ΒΆ
class arrow.locales.FrenchCanadianLocaleΒΆ
month_abbreviations = [u'', u'janv', u'f\xe9vr', u'mars', u'avr', u'mai', u'juin', u'juill', u'ao\xfbt', u'sept', u'oct', u'nov', u'd\xe9c']ΒΆ
names = [u'fr_ca']ΒΆ
class arrow.locales.FrenchLocaleΒΆ
month_abbreviations = [u'', u'janv', u'f\xe9vr', u'mars', u'avr', u'mai', u'juin', u'juil', u'ao\xfbt', u'sept', u'oct', u'nov', u'd\xe9c']ΒΆ
names = [u'fr', u'fr_fr']ΒΆ
class arrow.locales.GermanBaseLocaleΒΆ
and_word = u'und'ΒΆ
day_abbreviations = [u'', u'Mo', u'Di', u'Mi', u'Do', u'Fr', u'Sa', u'So']ΒΆ
day_names = [u'', u'Montag', u'Dienstag', u'Mittwoch', u'Donnerstag', u'Freitag', u'Samstag', u'Sonntag']ΒΆ
describe(timeframe, delta=0, only_distance=False)ΒΆ

Describes a delta within a timeframe in plain language.

Parameters:
  • timeframe – a string representing a timeframe.
  • delta – a quantity representing a delta in a timeframe.
  • only_distance – return only distance eg: β€œ11 seconds” without β€œin” or β€œago” keywords
future = u'in {0}'ΒΆ
month_abbreviations = [u'', u'Jan', u'Feb', u'M\xe4r', u'Apr', u'Mai', u'Jun', u'Jul', u'Aug', u'Sep', u'Okt', u'Nov', u'Dez']ΒΆ
month_names = [u'', u'Januar', u'Februar', u'M\xe4rz', u'April', u'Mai', u'Juni', u'Juli', u'August', u'September', u'Oktober', u'November', u'Dezember']ΒΆ
past = u'vor {0}'ΒΆ
timeframes = {u'day': u'einem Tag', u'days': u'{0} Tagen', u'hour': u'einer Stunde', u'hours': u'{0} Stunden', u'minute': u'einer Minute', u'minutes': u'{0} Minuten', u'month': u'einem Monat', u'months': u'{0} Monaten', u'now': u'gerade eben', u'second': u'eine Sekunde', u'seconds': u'{0} Sekunden', u'week': u'einer Woche', u'weeks': u'{0} Wochen', u'year': u'einem Jahr', u'years': u'{0} Jahren'}ΒΆ
timeframes_only_distance = {u'day': u'ein Tag', u'days': u'{0} Tagen', u'hour': u'eine Stunde', u'hours': u'{0} Stunden', u'minute': u'eine Minute', u'minutes': u'{0} Minuten', u'month': u'ein Monat', u'months': u'{0} Monaten', u'now': u'gerade eben', u'second': u'eine Sekunde', u'seconds': u'{0} Sekunden', u'week': u'eine Woche', u'weeks': u'{0} Wochen', u'year': u'ein Jahr', u'years': u'{0} Jahren'}ΒΆ
class arrow.locales.GermanLocaleΒΆ
names = [u'de', u'de_de']ΒΆ
class arrow.locales.GreekLocaleΒΆ
and_word = u'\u03ba\u03b1\u03b9'ΒΆ
day_abbreviations = [u'', u'\u0394\u03b5\u03c5', u'\u03a4\u03c1\u03b9', u'\u03a4\u03b5\u03c4', u'\u03a0\u03b5\u03bc', u'\u03a0\u03b1\u03c1', u'\u03a3\u03b1\u03b2', u'\u039a\u03c5\u03c1']ΒΆ
day_names = [u'', u'\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1', u'\u03a4\u03c1\u03af\u03c4\u03b7', u'\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7', u'\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7', u'\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae', u'\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf', u'\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae']ΒΆ
future = u'\u03c3\u03b5 {0}'ΒΆ
month_abbreviations = [u'', u'\u0399\u03b1\u03bd', u'\u03a6\u03b5\u03b2', u'\u039c\u03b1\u03c1', u'\u0391\u03c0\u03c1', u'\u039c\u03b1\u03ca', u'\u0399\u03bf\u03bd', u'\u0399\u03bf\u03bb', u'\u0391\u03c5\u03b3', u'\u03a3\u03b5\u03c0', u'\u039f\u03ba\u03c4', u'\u039d\u03bf\u03b5', u'\u0394\u03b5\u03ba']ΒΆ
month_names = [u'', u'\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5', u'\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5', u'\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5', u'\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5', u'\u039c\u03b1\u0390\u03bf\u03c5', u'\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5', u'\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5', u'\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5', u'\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5', u'\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5', u'\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5', u'\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5']ΒΆ
names = [u'el', u'el_gr']ΒΆ
past = u'{0} \u03c0\u03c1\u03b9\u03bd'ΒΆ
timeframes = {u'day': u'\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1', u'days': u'{0} \u03bc\u03ad\u03c1\u03b5\u03c2', u'hour': u'\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1', u'hours': u'{0} \u03ce\u03c1\u03b5\u03c2', u'minute': u'\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc', u'minutes': u'{0} \u03bb\u03b5\u03c0\u03c4\u03ac', u'month': u'\u03ad\u03bd\u03b1 \u03bc\u03ae\u03bd\u03b1', u'months': u'{0} \u03bc\u03ae\u03bd\u03b5\u03c2', u'now': u'\u03c4\u03ce\u03c1\u03b1', u'second': u'\u03ad\u03bd\u03b1 \u03b4\u03b5\u03cd\u03c4\u03b5\u03c1\u03bf', u'seconds': u'{0} \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1', u'year': u'\u03ad\u03bd\u03b1 \u03c7\u03c1\u03cc\u03bd\u03bf', u'years': u'{0} \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1'}ΒΆ
class arrow.locales.HebrewLocaleΒΆ
and_word = u'\u05d5'ΒΆ
day_abbreviations = [u'', u'\u05d1\u05f3', u'\u05d2\u05f3', u'\u05d3\u05f3', u'\u05d4\u05f3', u'\u05d5\u05f3', u'\u05e9\u05f3', u'\u05d0\u05f3']ΒΆ
day_names = [u'', u'\u05e9\u05e0\u05d9', u'\u05e9\u05dc\u05d9\u05e9\u05d9', u'\u05e8\u05d1\u05d9\u05e2\u05d9', u'\u05d7\u05de\u05d9\u05e9\u05d9', u'\u05e9\u05d9\u05e9\u05d9', u'\u05e9\u05d1\u05ea', u'\u05e8\u05d0\u05e9\u05d5\u05df']ΒΆ
describe_multi(timeframes, only_distance=False)ΒΆ

Describes a delta within multiple timeframes in plain language. In Hebrew, the and word behaves a bit differently.

Parameters:
  • timeframes – a list of string, quantity pairs each representing a timeframe and delta.
  • only_distance – return only distance eg: β€œ2 hours and 11 seconds” without β€œin” or β€œago” keywords
future = u'\u05d1\u05e2\u05d5\u05d3 {0}'ΒΆ
meridians = {u'AM': u'\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd', u'PM': u'\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd', u'am': u'\u05dc\u05e4\u05e0"\u05e6', u'pm': u'\u05d0\u05d7\u05e8"\u05e6'}ΒΆ
month_abbreviations = [u'', u'\u05d9\u05e0\u05d5\u05f3', u'\u05e4\u05d1\u05e8\u05f3', u'\u05de\u05e8\u05e5', u'\u05d0\u05e4\u05e8\u05f3', u'\u05de\u05d0\u05d9', u'\u05d9\u05d5\u05e0\u05d9', u'\u05d9\u05d5\u05dc\u05d9', u'\u05d0\u05d5\u05d2\u05f3', u'\u05e1\u05e4\u05d8\u05f3', u'\u05d0\u05d5\u05e7\u05f3', u'\u05e0\u05d5\u05d1\u05f3', u'\u05d3\u05e6\u05de\u05f3']ΒΆ
month_names = [u'', u'\u05d9\u05e0\u05d5\u05d0\u05e8', u'\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8', u'\u05de\u05e8\u05e5', u'\u05d0\u05e4\u05e8\u05d9\u05dc', u'\u05de\u05d0\u05d9', u'\u05d9\u05d5\u05e0\u05d9', u'\u05d9\u05d5\u05dc\u05d9', u'\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8', u'\u05e1\u05e4\u05d8\u05de\u05d1\u05e8', u'\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8', u'\u05e0\u05d5\u05d1\u05de\u05d1\u05e8', u'\u05d3\u05e6\u05de\u05d1\u05e8']ΒΆ
names = [u'he', u'he_IL']ΒΆ
past = u'\u05dc\u05e4\u05e0\u05d9 {0}'ΒΆ
timeframes = {u'2-days': u'\u05d9\u05d5\u05de\u05d9\u05d9\u05dd', u'2-hours': u'\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd', u'2-months': u'\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd', u'2-weeks': u'\u05e9\u05d1\u05d5\u05e2\u05d9\u05d9\u05dd', u'2-years': u'\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd', u'day': u'\u05d9\u05d5\u05dd', u'days': u'{0} \u05d9\u05de\u05d9\u05dd', u'hour': u'\u05e9\u05e2\u05d4', u'hours': u'{0} \u05e9\u05e2\u05d5\u05ea', u'minute': u'\u05d3\u05e7\u05d4', u'minutes': u'{0} \u05d3\u05e7\u05d5\u05ea', u'month': u'\u05d7\u05d5\u05d3\u05e9', u'months': u'{0} \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd', u'now': u'\u05d4\u05e8\u05d2\u05e2', u'second': u'\u05e9\u05e0\u05d9\u05d9\u05d4', u'seconds': u'{0} \u05e9\u05e0\u05d9\u05d5\u05ea', u'week': u'\u05e9\u05d1\u05d5\u05e2', u'weeks': u'{0} \u05e9\u05d1\u05d5\u05e2\u05d5\u05ea', u'year': u'\u05e9\u05e0\u05d4', u'years': u'{0} \u05e9\u05e0\u05d9\u05dd'}ΒΆ
class arrow.locales.HindiLocaleΒΆ
day_abbreviations = [u'', u'\u0938\u094b\u092e', u'\u092e\u0902\u0917\u0932', u'\u092c\u0941\u0927', u'\u0917\u0941\u0930\u0941\u0935\u093e\u0930', u'\u0936\u0941\u0915\u094d\u0930', u'\u0936\u0928\u093f', u'\u0930\u0935\u093f']ΒΆ
day_names = [u'', u'\u0938\u094b\u092e\u0935\u093e\u0930', u'\u092e\u0902\u0917\u0932\u0935\u093e\u0930', u'\u092c\u0941\u0927\u0935\u093e\u0930', u'\u0917\u0941\u0930\u0941\u0935\u093e\u0930', u'\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930', u'\u0936\u0928\u093f\u0935\u093e\u0930', u'\u0930\u0935\u093f\u0935\u093e\u0930']ΒΆ
future = u'{0} \u092c\u093e\u0926'ΒΆ
meridians = {u'AM': u'\u0938\u0941\u092c\u0939', u'PM': u'\u0936\u093e\u092e', u'am': u'\u0938\u0941\u092c\u0939', u'pm': u'\u0936\u093e\u092e'}ΒΆ
month_abbreviations = [u'', u'\u091c\u0928', u'\u095e\u0930', u'\u092e\u093e\u0930\u094d\u091a', u'\u0905\u092a\u094d\u0930\u0948', u'\u092e\u0908', u'\u091c\u0942\u0928', u'\u091c\u0941\u0932\u093e\u0908', u'\u0906\u0917', u'\u0938\u093f\u0924', u'\u0905\u0915\u0924', u'\u0928\u0935\u0947', u'\u0926\u093f\u0938']ΒΆ
month_names = [u'', u'\u091c\u0928\u0935\u0930\u0940', u'\u092b\u0930\u0935\u0930\u0940', u'\u092e\u093e\u0930\u094d\u091a', u'\u0905\u092a\u094d\u0930\u0948\u0932 ', u'\u092e\u0908', u'\u091c\u0942\u0928', u'\u091c\u0941\u0932\u093e\u0908', u'\u0905\u0917\u0938\u094d\u0924', u'\u0938\u093f\u0924\u0902\u092c\u0930', u'\u0905\u0915\u094d\u091f\u0942\u092c\u0930', u'\u0928\u0935\u0902\u092c\u0930', u'\u0926\u093f\u0938\u0902\u092c\u0930']ΒΆ
names = [u'hi']ΒΆ
past = u'{0} \u092a\u0939\u0932\u0947'ΒΆ
timeframes = {u'day': u'\u090f\u0915 \u0926\u093f\u0928', u'days': u'{0} \u0926\u093f\u0928', u'hour': u'\u090f\u0915 \u0918\u0902\u091f\u093e', u'hours': u'{0} \u0918\u0902\u091f\u0947', u'minute': u'\u090f\u0915 \u092e\u093f\u0928\u091f ', u'minutes': u'{0} \u092e\u093f\u0928\u091f ', u'month': u'\u090f\u0915 \u092e\u093e\u0939 ', u'months': u'{0} \u092e\u0939\u0940\u0928\u0947 ', u'now': u'\u0905\u092d\u0940', u'second': u'\u090f\u0915 \u092a\u0932', u'seconds': u'{0} \u0938\u0947\u0915\u0902\u0921\u094d', u'year': u'\u090f\u0915 \u0935\u0930\u094d\u0937 ', u'years': u'{0} \u0938\u093e\u0932 '}ΒΆ
class arrow.locales.HongKongLocaleΒΆ
day_abbreviations = [u'', u'\u4e00', u'\u4e8c', u'\u4e09', u'\u56db', u'\u4e94', u'\u516d', u'\u65e5']ΒΆ
day_names = [u'', u'\u661f\u671f\u4e00', u'\u661f\u671f\u4e8c', u'\u661f\u671f\u4e09', u'\u661f\u671f\u56db', u'\u661f\u671f\u4e94', u'\u661f\u671f\u516d', u'\u661f\u671f\u65e5']ΒΆ
future = u'{0}\u5f8c'ΒΆ
month_abbreviations = [u'', u' 1', u' 2', u' 3', u' 4', u' 5', u' 6', u' 7', u' 8', u' 9', u'10', u'11', u'12']ΒΆ
month_names = [u'', u'1\u6708', u'2\u6708', u'3\u6708', u'4\u6708', u'5\u6708', u'6\u6708', u'7\u6708', u'8\u6708', u'9\u6708', u'10\u6708', u'11\u6708', u'12\u6708']ΒΆ
names = [u'zh_hk']ΒΆ
past = u'{0}\u524d'ΒΆ
timeframes = {u'day': u'1\u5929', u'days': u'{0}\u5929', u'hour': u'1\u5c0f\u6642', u'hours': u'{0}\u5c0f\u6642', u'minute': u'1\u5206\u9418', u'minutes': u'{0}\u5206\u9418', u'month': u'1\u500b\u6708', u'months': u'{0}\u500b\u6708', u'now': u'\u525b\u624d', u'second': u'1\u79d2', u'seconds': u'{0}\u79d2', u'week': u'1\u661f\u671f', u'weeks': u'{0}\u661f\u671f', u'year': u'1\u5e74', u'years': u'{0}\u5e74'}ΒΆ
class arrow.locales.HungarianLocaleΒΆ
day_abbreviations = [u'', u'h\xe9t', u'kedd', u'szer', u'cs\xfct', u'p\xe9nt', u'szom', u'vas']ΒΆ
day_names = [u'', u'h\xe9tf\u0151', u'kedd', u'szerda', u'cs\xfct\xf6rt\xf6k', u'p\xe9ntek', u'szombat', u'vas\xe1rnap']ΒΆ
future = u'{0} m\xfalva'ΒΆ
meridians = {u'AM': u'DE', u'PM': u'DU', u'am': u'de', u'pm': u'du'}ΒΆ
month_abbreviations = [u'', u'jan', u'febr', u'm\xe1rc', u'\xe1pr', u'm\xe1j', u'j\xfan', u'j\xfal', u'aug', u'szept', u'okt', u'nov', u'dec']ΒΆ
month_names = [u'', u'janu\xe1r', u'febru\xe1r', u'm\xe1rcius', u'\xe1prilis', u'm\xe1jus', u'j\xfanius', u'j\xfalius', u'augusztus', u'szeptember', u'okt\xf3ber', u'november', u'december']ΒΆ
names = [u'hu', u'hu_hu']ΒΆ
past = u'{0} ezel\u0151tt'ΒΆ
timeframes = {u'day': {u'future': u'egy nap', u'past': u'egy nappal'}, u'days': {u'future': u'{0} nap', u'past': u'{0} nappal'}, u'hour': {u'future': u'egy \xf3ra', u'past': u'egy \xf3r\xe1val'}, u'hours': {u'future': u'{0} \xf3ra', u'past': u'{0} \xf3r\xe1val'}, u'minute': {u'future': u'egy perc', u'past': u'egy perccel'}, u'minutes': {u'future': u'{0} perc', u'past': u'{0} perccel'}, u'month': {u'future': u'egy h\xf3nap', u'past': u'egy h\xf3nappal'}, u'months': {u'future': u'{0} h\xf3nap', u'past': u'{0} h\xf3nappal'}, u'now': u'\xe9ppen most', u'second': {u'future': u'egy m\xe1sodik', u'past': u'egy m\xe1sodik'}, u'seconds': {u'future': u'{0} p\xe1r m\xe1sodperc', u'past': u'{0} m\xe1sodpercekkel'}, u'year': {u'future': u'egy \xe9v', u'past': u'egy \xe9vvel'}, u'years': {u'future': u'{0} \xe9v', u'past': u'{0} \xe9vvel'}}ΒΆ
class arrow.locales.IcelandicLocaleΒΆ
day_abbreviations = [u'', u'm\xe1n', u'\xferi', u'mi\xf0', u'fim', u'f\xf6s', u'lau', u'sun']ΒΆ
day_names = [u'', u'm\xe1nudagur', u'\xferi\xf0judagur', u'mi\xf0vikudagur', u'fimmtudagur', u'f\xf6studagur', u'laugardagur', u'sunnudagur']ΒΆ
future = u'eftir {0}'ΒΆ
meridians = {u'AM': u'f.h.', u'PM': u'e.h.', u'am': u'f.h.', u'pm': u'e.h.'}ΒΆ
month_abbreviations = [u'', u'jan', u'feb', u'mar', u'apr', u'ma\xed', u'j\xfan', u'j\xfal', u'\xe1g\xfa', u'sep', u'okt', u'n\xf3v', u'des']ΒΆ
month_names = [u'', u'jan\xfaar', u'febr\xfaar', u'mars', u'apr\xedl', u'ma\xed', u'j\xfan\xed', u'j\xfal\xed', u'\xe1g\xfast', u'september', u'okt\xf3ber', u'n\xf3vember', u'desember']ΒΆ
names = [u'is', u'is_is']ΒΆ
past = u'fyrir {0} s\xed\xf0an'ΒΆ
timeframes = {u'day': (u'einum degi', u'einn dag'), u'days': (u'{0} d\xf6gum', u'{0} daga'), u'hour': (u'einum t\xedma', u'einn t\xedma'), u'hours': (u'{0} t\xedmum', u'{0} t\xedma'), u'minute': (u'einni m\xedn\xfatu', u'eina m\xedn\xfatu'), u'minutes': (u'{0} m\xedn\xfatum', u'{0} m\xedn\xfatur'), u'month': (u'einum m\xe1nu\xf0i', u'einn m\xe1nu\xf0'), u'months': (u'{0} m\xe1nu\xf0um', u'{0} m\xe1nu\xf0i'), u'now': u'r\xe9tt \xed \xfeessu', u'second': (u'sek\xfandu', u'sek\xfandu'), u'seconds': (u'{0} nokkrum sek\xfandum', u'nokkrar sek\xfandur'), u'year': (u'einu \xe1ri', u'eitt \xe1r'), u'years': (u'{0} \xe1rum', u'{0} \xe1r')}ΒΆ
class arrow.locales.IndonesianLocaleΒΆ
and_word = u'dan'ΒΆ
day_abbreviations = [u'', u'Senin', u'Selasa', u'Rabu', u'Kamis', u'Jumat', u'Sabtu', u'Minggu']ΒΆ
day_names = [u'', u'Senin', u'Selasa', u'Rabu', u'Kamis', u'Jumat', u'Sabtu', u'Minggu']ΒΆ
future = u'dalam {0}'ΒΆ
meridians = {u'AM': u'', u'PM': u'', u'am': u'', u'pm': u''}ΒΆ
month_abbreviations = [u'', u'Jan', u'Feb', u'Mar', u'Apr', u'Mei', u'Jun', u'Jul', u'Ags', u'Sept', u'Okt', u'Nov', u'Des']ΒΆ
month_names = [u'', u'Januari', u'Februari', u'Maret', u'April', u'Mei', u'Juni', u'Juli', u'Agustus', u'September', u'Oktober', u'November', u'Desember']ΒΆ
names = [u'id', u'id_id']ΒΆ
past = u'{0} yang lalu'ΒΆ
timeframes = {u'day': u'1 hari', u'days': u'{0} hari', u'hour': u'1 jam', u'hours': u'{0} jam', u'minute': u'1 menit', u'minutes': u'{0} menit', u'month': u'1 bulan', u'months': u'{0} bulan', u'now': u'baru saja', u'second': u'1 sebentar', u'seconds': u'{0} detik', u'year': u'1 tahun', u'years': u'{0} tahun'}ΒΆ
class arrow.locales.ItalianLocaleΒΆ
and_word = u'e'ΒΆ
day_abbreviations = [u'', u'lun', u'mar', u'mer', u'gio', u'ven', u'sab', u'dom']ΒΆ
day_names = [u'', u'luned\xec', u'marted\xec', u'mercoled\xec', u'gioved\xec', u'venerd\xec', u'sabato', u'domenica']ΒΆ
future = u'tra {0}'ΒΆ
month_abbreviations = [u'', u'gen', u'feb', u'mar', u'apr', u'mag', u'giu', u'lug', u'ago', u'set', u'ott', u'nov', u'dic']ΒΆ
month_names = [u'', u'gennaio', u'febbraio', u'marzo', u'aprile', u'maggio', u'giugno', u'luglio', u'agosto', u'settembre', u'ottobre', u'novembre', u'dicembre']ΒΆ
names = [u'it', u'it_it']ΒΆ
ordinal_day_re = u'((?P<value>[1-3]?[0-9](?=[\xba\xaa]))[\xba\xaa])'ΒΆ
past = u'{0} fa'ΒΆ
timeframes = {u'day': u'un giorno', u'days': u'{0} giorni', u'hour': u"un'ora", u'hours': u'{0} ore', u'minute': u'un minuto', u'minutes': u'{0} minuti', u'month': u'un mese', u'months': u'{0} mesi', u'now': u'adesso', u'second': u'un secondo', u'seconds': u'{0} qualche secondo', u'week': u'una settimana,', u'weeks': u'{0} settimane', u'year': u'un anno', u'years': u'{0} anni'}ΒΆ
class arrow.locales.JapaneseLocaleΒΆ
day_abbreviations = [u'', u'\u6708', u'\u706b', u'\u6c34', u'\u6728', u'\u91d1', u'\u571f', u'\u65e5']ΒΆ
day_names = [u'', u'\u6708\u66dc\u65e5', u'\u706b\u66dc\u65e5', u'\u6c34\u66dc\u65e5', u'\u6728\u66dc\u65e5', u'\u91d1\u66dc\u65e5', u'\u571f\u66dc\u65e5', u'\u65e5\u66dc\u65e5']ΒΆ
future = u'{0}\u5f8c'ΒΆ
month_abbreviations = [u'', u' 1', u' 2', u' 3', u' 4', u' 5', u' 6', u' 7', u' 8', u' 9', u'10', u'11', u'12']ΒΆ
month_names = [u'', u'1\u6708', u'2\u6708', u'3\u6708', u'4\u6708', u'5\u6708', u'6\u6708', u'7\u6708', u'8\u6708', u'9\u6708', u'10\u6708', u'11\u6708', u'12\u6708']ΒΆ
names = [u'ja', u'ja_jp']ΒΆ
past = u'{0}\u524d'ΒΆ
timeframes = {u'day': u'1\u65e5', u'days': u'{0}\u65e5', u'hour': u'1\u6642\u9593', u'hours': u'{0}\u6642\u9593', u'minute': u'1\u5206', u'minutes': u'{0}\u5206', u'month': u'1\u30f6\u6708', u'months': u'{0}\u30f6\u6708', u'now': u'\u73fe\u5728', u'second': u'\u4e8c\u756a\u76ee\u306e', u'seconds': u'{0}\u6570\u79d2', u'week': u'1\u9031\u9593', u'weeks': u'{0}\u9031\u9593', u'year': u'1\u5e74', u'years': u'{0}\u5e74'}ΒΆ
class arrow.locales.KoreanLocaleΒΆ
day_abbreviations = [u'', u'\uc6d4', u'\ud654', u'\uc218', u'\ubaa9', u'\uae08', u'\ud1a0', u'\uc77c']ΒΆ
day_names = [u'', u'\uc6d4\uc694\uc77c', u'\ud654\uc694\uc77c', u'\uc218\uc694\uc77c', u'\ubaa9\uc694\uc77c', u'\uae08\uc694\uc77c', u'\ud1a0\uc694\uc77c', u'\uc77c\uc694\uc77c']ΒΆ
future = u'{0} \ud6c4'ΒΆ
month_abbreviations = [u'', u' 1', u' 2', u' 3', u' 4', u' 5', u' 6', u' 7', u' 8', u' 9', u'10', u'11', u'12']ΒΆ
month_names = [u'', u'1\uc6d4', u'2\uc6d4', u'3\uc6d4', u'4\uc6d4', u'5\uc6d4', u'6\uc6d4', u'7\uc6d4', u'8\uc6d4', u'9\uc6d4', u'10\uc6d4', u'11\uc6d4', u'12\uc6d4']ΒΆ
names = [u'ko', u'ko_kr']ΒΆ
past = u'{0} \uc804'ΒΆ
special_dayframes = {-3: u'\uadf8\ub044\uc81c', -2: u'\uadf8\uc81c', -1: u'\uc5b4\uc81c', 1: u'\ub0b4\uc77c', 2: u'\ubaa8\ub808', 3: u'\uae00\ud53c', 4: u'\uadf8\uae00\ud53c'}ΒΆ
special_yearframes = {-2: u'\uc81c\uc791\ub144', -1: u'\uc791\ub144', 1: u'\ub0b4\ub144', 2: u'\ub0b4\ud6c4\ub144'}ΒΆ
timeframes = {u'day': u'\ud558\ub8e8', u'days': u'{0}\uc77c', u'hour': u'\ud55c\uc2dc\uac04', u'hours': u'{0}\uc2dc\uac04', u'minute': u'1\ubd84', u'minutes': u'{0}\ubd84', u'month': u'\ud55c\ub2ec', u'months': u'{0}\uac1c\uc6d4', u'now': u'\uc9c0\uae08', u'second': u'1\ucd08', u'seconds': u'{0}\ucd08', u'week': u'1\uc8fc', u'weeks': u'{0}\uc8fc', u'year': u'1\ub144', u'years': u'{0}\ub144'}ΒΆ
class arrow.locales.LevantArabicLocaleΒΆ
month_abbreviations = [u'', u'\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a', u'\u0634\u0628\u0627\u0637', u'\u0622\u0630\u0627\u0631', u'\u0646\u064a\u0633\u0627\u0646', u'\u0623\u064a\u0627\u0631', u'\u062d\u0632\u064a\u0631\u0627\u0646', u'\u062a\u0645\u0648\u0632', u'\u0622\u0628', u'\u0623\u064a\u0644\u0648\u0644', u'\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644', u'\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a', u'\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644']ΒΆ
month_names = [u'', u'\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a', u'\u0634\u0628\u0627\u0637', u'\u0622\u0630\u0627\u0631', u'\u0646\u064a\u0633\u0627\u0646', u'\u0623\u064a\u0627\u0631', u'\u062d\u0632\u064a\u0631\u0627\u0646', u'\u062a\u0645\u0648\u0632', u'\u0622\u0628', u'\u0623\u064a\u0644\u0648\u0644', u'\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644', u'\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a', u'\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644']ΒΆ
names = [u'ar_iq', u'ar_jo', u'ar_lb', u'ar_ps', u'ar_sy']ΒΆ
class arrow.locales.LocaleΒΆ

Represents locale-specific data and functionality.

and_word = NoneΒΆ
day_abbreviation(day)ΒΆ

Returns the day abbreviation for a specified day of the week.

Parameters:day – the int day of the week (1-7).
day_abbreviations = []ΒΆ
day_name(day)ΒΆ

Returns the day name for a specified day of the week.

Parameters:day – the int day of the week (1-7).
day_names = []ΒΆ
describe(timeframe, delta=0, only_distance=False)ΒΆ

Describes a delta within a timeframe in plain language.

Parameters:
  • timeframe – a string representing a timeframe.
  • delta – a quantity representing a delta in a timeframe.
  • only_distance – return only distance eg: β€œ11 seconds” without β€œin” or β€œago” keywords
describe_multi(timeframes, only_distance=False)ΒΆ

Describes a delta within multiple timeframes in plain language.

Parameters:
  • timeframes – a list of string, quantity pairs each representing a timeframe and delta.
  • only_distance – return only distance eg: β€œ2 hours and 11 seconds” without β€œin” or β€œago” keywords
future = NoneΒΆ
meridian(hour, token)ΒΆ

Returns the meridian indicator for a specified hour and format token.

Parameters:
  • hour – the int hour of the day.
  • token – the format token.
meridians = {u'AM': u'', u'PM': u'', u'am': u'', u'pm': u''}ΒΆ
month_abbreviation(month)ΒΆ

Returns the month abbreviation for a specified month of the year.

Parameters:month – the int month of the year (1-12).
month_abbreviations = []ΒΆ
month_name(month)ΒΆ

Returns the month name for a specified month of the year.

Parameters:month – the int month of the year (1-12).
month_names = []ΒΆ
month_number(name)ΒΆ

Returns the month number for a month specified by name or abbreviation.

Parameters:name – the month name or abbreviation.
names = []ΒΆ
ordinal_day_re = u'(\\d+)'ΒΆ
ordinal_number(n)ΒΆ

Returns the ordinal format of a given integer

Parameters:n – an integer
past = NoneΒΆ
timeframes = {u'day': u'', u'days': u'', u'hour': u'', u'hours': u'', u'minute': u'', u'minutes': u'', u'month': u'', u'months': u'', u'now': u'', u'second': u'', u'seconds': u'', u'week': u'', u'weeks': u'', u'year': u'', u'years': u''}ΒΆ
year_abbreviation(year)ΒΆ

Returns the year for specific locale if available

Parameters:name – the int year (4-digit)
year_full(year)ΒΆ

Returns the year for specific locale if available

Parameters:name – the int year (4-digit)
class arrow.locales.MacedonianLocaleΒΆ
day_abbreviations = [u'', u'\u041f\u043e\u043d', u'\u0412\u0442', u'\u0421\u0440\u0435', u'\u0427\u0435\u0442', u'\u041f\u0435\u0442', u'\u0421\u0430\u0431', u'\u041d\u0435\u0434']ΒΆ
day_names = [u'', u'\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a', u'\u0412\u0442\u043e\u0440\u043d\u0438\u043a', u'\u0421\u0440\u0435\u0434\u0430', u'\u0427\u0435\u0442\u0432\u0440\u0442\u043e\u043a', u'\u041f\u0435\u0442\u043e\u043a', u'\u0421\u0430\u0431\u043e\u0442\u0430', u'\u041d\u0435\u0434\u0435\u043b\u0430']ΒΆ
future = u'\u0437\u0430 {0}'ΒΆ
meridians = {u'AM': u'\u043f\u0440\u0435\u0442\u043f\u043b\u0430\u0434\u043d\u0435', u'PM': u'\u043f\u043e\u043f\u043b\u0430\u0434\u043d\u0435', u'am': u'\u0434\u043f', u'pm': u'\u043f\u043f'}ΒΆ
month_abbreviations = [u'', u'\u0408\u0430\u043d', u'\u0424\u0435\u0432', u'\u041c\u0430\u0440', u'\u0410\u043f\u0440', u'\u041c\u0430\u0458', u'\u0408\u0443\u043d', u'\u0408\u0443\u043b', u'\u0410\u0432\u0433', u'\u0421\u0435\u043f\u0442', u'\u041e\u043a\u0442', u'\u041d\u043e\u0435\u043c', u'\u0414\u0435\u043a\u0435\u043c']ΒΆ
month_names = [u'', u'\u0408\u0430\u043d\u0443\u0430\u0440\u0438', u'\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438', u'\u041c\u0430\u0440\u0442', u'\u0410\u043f\u0440\u0438\u043b', u'\u041c\u0430\u0458', u'\u0408\u0443\u043d\u0438', u'\u0408\u0443\u043b\u0438', u'\u0410\u0432\u0433\u0443\u0441\u0442', u'\u0421\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438', u'\u041e\u043a\u0442\u043e\u043c\u0432\u0440\u0438', u'\u041d\u043e\u0435\u043c\u0432\u0440\u0438', u'\u0414\u0435\u043a\u0435\u043c\u0432\u0440\u0438']ΒΆ
names = [u'mk', u'mk_mk']ΒΆ
past = u'\u043f\u0440\u0435\u0434 {0}'ΒΆ
timeframes = {u'day': u'\u0435\u0434\u0435\u043d \u0434\u0435\u043d', u'days': [u'{0} \u0434\u0435\u043d', u'{0} \u0434\u0435\u043d\u0430', u'{0} \u0434\u0435\u043d\u0430'], u'hour': u'\u0435\u0434\u0435\u043d \u0441\u0430\u0430\u0442', u'hours': [u'{0} \u0441\u0430\u0430\u0442', u'{0} \u0441\u0430\u0430\u0442\u0438', u'{0} \u0441\u0430\u0430\u0442\u0438'], u'minute': u'\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430', u'minutes': [u'{0} \u043c\u0438\u043d\u0443\u0442\u0430', u'{0} \u043c\u0438\u043d\u0443\u0442\u0438', u'{0} \u043c\u0438\u043d\u0443\u0442\u0438'], u'month': u'\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446', u'months': [u'{0} \u043c\u0435\u0441\u0435\u0446', u'{0} \u043c\u0435\u0441\u0435\u0446\u0438', u'{0} \u043c\u0435\u0441\u0435\u0446\u0438'], u'now': u'\u0441\u0435\u0433\u0430', u'second': u'\u0435\u0434\u043d\u0430 \u0441\u0435\u043a\u0443\u043d\u0434\u0430', u'seconds': [u'{0} \u0441\u0435\u043a\u0443\u043d\u0434\u0430', u'{0} \u0441\u0435\u043a\u0443\u043d\u0434\u0438', u'{0} \u0441\u0435\u043a\u0443\u043d\u0434\u0438'], u'week': u'\u0435\u0434\u043d\u0430 \u043d\u0435\u0434\u0435\u043b\u0430', u'weeks': [u'{0} \u043d\u0435\u0434\u0435\u043b\u0430', u'{0} \u043d\u0435\u0434\u0435\u043b\u0438', u'{0} \u043d\u0435\u0434\u0435\u043b\u0438'], u'year': u'\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430', u'years': [u'{0} \u0433\u043e\u0434\u0438\u043d\u0430', u'{0} \u0433\u043e\u0434\u0438\u043d\u0438', u'{0} \u0433\u043e\u0434\u0438\u043d\u0438']}ΒΆ
class arrow.locales.MalayalamLocaleΒΆ
day_abbreviations = [u'', u'\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d4d\u200d', u'\u0d1a\u0d4a\u0d35\u0d4d\u0d35', u'\u0d2c\u0d41\u0d27\u0d28\u0d4d\u200d', u'\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02', u'\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f', u'\u0d36\u0d28\u0d3f', u'\u0d1e\u0d3e\u0d2f\u0d30\u0d4d\u200d']ΒΆ
day_names = [u'', u'\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d4d\u200d', u'\u0d1a\u0d4a\u0d35\u0d4d\u0d35', u'\u0d2c\u0d41\u0d27\u0d28\u0d4d\u200d', u'\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02', u'\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f', u'\u0d36\u0d28\u0d3f', u'\u0d1e\u0d3e\u0d2f\u0d30\u0d4d\u200d']ΒΆ
future = u'{0} \u0d36\u0d47\u0d37\u0d02'ΒΆ
meridians = {u'AM': u'\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46', u'PM': u'\u0d09\u0d1a\u0d4d\u0d1a\u0d15\u0d4d\u0d15\u0d4d \u0d36\u0d47\u0d37\u0d02', u'am': u'\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46', u'pm': u'\u0d09\u0d1a\u0d4d\u0d1a\u0d15\u0d4d\u0d15\u0d4d \u0d36\u0d47\u0d37\u0d02'}ΒΆ
month_abbreviations = [u'', u'\u0d1c\u0d28\u0d41', u'\u0d2b\u0d46\u0d2c\u0d4d ', u'\u0d2e\u0d3e\u0d7c', u'\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d', u'\u0d2e\u0d47\u0d2f\u0d4d', u'\u0d1c\u0d42\u0d23\u0d4d\u200d', u'\u0d1c\u0d42\u0d32\u0d48', u'\u0d13\u0d17\u0d38\u0d4d\u0d31', u'\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31', u'\u0d12\u0d15\u0d4d\u0d1f\u0d4b', u'\u0d28\u0d35\u0d02', u'\u0d21\u0d3f\u0d38\u0d02']ΒΆ
month_names = [u'', u'\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f', u'\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f', u'\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d\u200c', u'\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d ', u'\u0d2e\u0d46\u0d2f\u0d4d\u200c ', u'\u0d1c\u0d42\u0d23\u0d4d\u200d', u'\u0d1c\u0d42\u0d32\u0d48', u'\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d\u200c', u'\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c', u'\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c', u'\u0d28\u0d35\u0d02\u0d2c\u0d7c', u'\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c']ΒΆ
names = [u'ml']ΒΆ
past = u'{0} \u0d2e\u0d41\u0d2e\u0d4d\u0d2a\u0d4d'ΒΆ
timeframes = {u'day': u'\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02 ', u'days': u'{0} \u0d26\u0d3f\u0d35\u0d38\u0d02 ', u'hour': u'\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c', u'hours': u'{0} \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c', u'minute': u'\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d', u'minutes': u'{0} \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d', u'month': u'\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02 ', u'months': u'{0} \u0d2e\u0d3e\u0d38\u0d02 ', u'now': u'\u0d07\u0d2a\u0d4d\u0d2a\u0d4b\u0d7e', u'second': u'\u0d12\u0d30\u0d41 \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d02', u'seconds': u'{0} \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d28\u0d4d\u0d31\u0d4d\u200c', u'year': u'\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02 ', u'years': u'{0} \u0d35\u0d7c\u0d37\u0d02 '}ΒΆ
class arrow.locales.MarathiLocaleΒΆ
day_abbreviations = [u'', u'\u0938\u094b\u092e', u'\u092e\u0902\u0917\u0933', u'\u092c\u0941\u0927', u'\u0917\u0941\u0930\u0941', u'\u0936\u0941\u0915\u094d\u0930', u'\u0936\u0928\u093f', u'\u0930\u0935\u093f']ΒΆ
day_names = [u'', u'\u0938\u094b\u092e\u0935\u093e\u0930', u'\u092e\u0902\u0917\u0933\u0935\u093e\u0930', u'\u092c\u0941\u0927\u0935\u093e\u0930', u'\u0917\u0941\u0930\u0941\u0935\u093e\u0930', u'\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930', u'\u0936\u0928\u093f\u0935\u093e\u0930', u'\u0930\u0935\u093f\u0935\u093e\u0930']ΒΆ
future = u'{0} \u0928\u0902\u0924\u0930'ΒΆ
meridians = {u'AM': u'\u0938\u0915\u093e\u0933', u'PM': u'\u0938\u0902\u0927\u094d\u092f\u093e\u0915\u093e\u0933', u'am': u'\u0938\u0915\u093e\u0933', u'pm': u'\u0938\u0902\u0927\u094d\u092f\u093e\u0915\u093e\u0933'}ΒΆ
month_abbreviations = [u'', u'\u091c\u093e\u0928', u'\u092b\u0947\u092c\u094d\u0930\u0941', u'\u092e\u093e\u0930\u094d\u091a', u'\u090f\u092a\u094d\u0930\u093f', u'\u092e\u0947', u'\u091c\u0942\u0928', u'\u091c\u0941\u0932\u0948', u'\u0905\u0949\u0917', u'\u0938\u092a\u094d\u091f\u0947\u0902', u'\u0905\u0949\u0915\u094d\u091f\u094b', u'\u0928\u094b\u0935\u094d\u0939\u0947\u0902', u'\u0921\u093f\u0938\u0947\u0902']ΒΆ
month_names = [u'', u'\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940', u'\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940', u'\u092e\u093e\u0930\u094d\u091a', u'\u090f\u092a\u094d\u0930\u093f\u0932', u'\u092e\u0947', u'\u091c\u0942\u0928', u'\u091c\u0941\u0932\u0948', u'\u0905\u0949\u0917\u0938\u094d\u091f', u'\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930', u'\u0905\u0949\u0915\u094d\u091f\u094b\u092c\u0930', u'\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930', u'\u0921\u093f\u0938\u0947\u0902\u092c\u0930']ΒΆ
names = [u'mr']ΒΆ
past = u'{0} \u0906\u0927\u0940'ΒΆ
timeframes = {u'day': u'\u090f\u0915 \u0926\u093f\u0935\u0938', u'days': u'{0} \u0926\u093f\u0935\u0938', u'hour': u'\u090f\u0915 \u0924\u093e\u0938', u'hours': u'{0} \u0924\u093e\u0938', u'minute': u'\u090f\u0915 \u092e\u093f\u0928\u093f\u091f ', u'minutes': u'{0} \u092e\u093f\u0928\u093f\u091f ', u'month': u'\u090f\u0915 \u092e\u0939\u093f\u0928\u093e ', u'months': u'{0} \u092e\u0939\u093f\u0928\u0947 ', u'now': u'\u0938\u0926\u094d\u092f', u'second': u'\u090f\u0915 \u0938\u0947\u0915\u0902\u0926', u'seconds': u'{0} \u0938\u0947\u0915\u0902\u0926', u'year': u'\u090f\u0915 \u0935\u0930\u094d\u0937 ', u'years': u'{0} \u0935\u0930\u094d\u0937 '}ΒΆ
class arrow.locales.MauritaniaArabicLocaleΒΆ
month_abbreviations = [u'', u'\u064a\u0646\u0627\u064a\u0631', u'\u0641\u0628\u0631\u0627\u064a\u0631', u'\u0645\u0627\u0631\u0633', u'\u0625\u0628\u0631\u064a\u0644', u'\u0645\u0627\u064a\u0648', u'\u064a\u0648\u0646\u064a\u0648', u'\u064a\u0648\u0644\u064a\u0648', u'\u0623\u063a\u0634\u062a', u'\u0634\u062a\u0645\u0628\u0631', u'\u0623\u0643\u062a\u0648\u0628\u0631', u'\u0646\u0648\u0641\u0645\u0628\u0631', u'\u062f\u062c\u0645\u0628\u0631']ΒΆ
month_names = [u'', u'\u064a\u0646\u0627\u064a\u0631', u'\u0641\u0628\u0631\u0627\u064a\u0631', u'\u0645\u0627\u0631\u0633', u'\u0625\u0628\u0631\u064a\u0644', u'\u0645\u0627\u064a\u0648', u'\u064a\u0648\u0646\u064a\u0648', u'\u064a\u0648\u0644\u064a\u0648', u'\u0623\u063a\u0634\u062a', u'\u0634\u062a\u0645\u0628\u0631', u'\u0623\u0643\u062a\u0648\u0628\u0631', u'\u0646\u0648\u0641\u0645\u0628\u0631', u'\u062f\u062c\u0645\u0628\u0631']ΒΆ
names = [u'ar_mr']ΒΆ
class arrow.locales.MoroccoArabicLocaleΒΆ
month_abbreviations = [u'', u'\u064a\u0646\u0627\u064a\u0631', u'\u0641\u0628\u0631\u0627\u064a\u0631', u'\u0645\u0627\u0631\u0633', u'\u0623\u0628\u0631\u064a\u0644', u'\u0645\u0627\u064a', u'\u064a\u0648\u0646\u064a\u0648', u'\u064a\u0648\u0644\u064a\u0648\u0632', u'\u063a\u0634\u062a', u'\u0634\u062a\u0646\u0628\u0631', u'\u0623\u0643\u062a\u0648\u0628\u0631', u'\u0646\u0648\u0646\u0628\u0631', u'\u062f\u062c\u0646\u0628\u0631']ΒΆ
month_names = [u'', u'\u064a\u0646\u0627\u064a\u0631', u'\u0641\u0628\u0631\u0627\u064a\u0631', u'\u0645\u0627\u0631\u0633', u'\u0623\u0628\u0631\u064a\u0644', u'\u0645\u0627\u064a', u'\u064a\u0648\u0646\u064a\u0648', u'\u064a\u0648\u0644\u064a\u0648\u0632', u'\u063a\u0634\u062a', u'\u0634\u062a\u0646\u0628\u0631', u'\u0623\u0643\u062a\u0648\u0628\u0631', u'\u0646\u0648\u0646\u0628\u0631', u'\u062f\u062c\u0646\u0628\u0631']ΒΆ
names = [u'ar_ma']ΒΆ
class arrow.locales.NepaliLocaleΒΆ
day_abbreviations = [u'', u'\u0938\u094b\u092e', u'\u092e\u0902\u0917\u0932', u'\u092c\u0941\u0927', u'\u092c\u093f\u0939\u093f', u'\u0936\u0941\u0915\u094d\u0930', u'\u0936\u0928\u093f', u'\u0906\u0907\u0924']ΒΆ
day_names = [u'', u'\u0938\u094b\u092e\u0935\u093e\u0930', u'\u092e\u0902\u0917\u0932\u0935\u093e\u0930', u'\u092c\u0941\u0927\u0935\u093e\u0930', u'\u092c\u093f\u0939\u093f\u0935\u093e\u0930', u'\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930', u'\u0936\u0928\u093f\u0935\u093e\u0930', u'\u0906\u0907\u0924\u0935\u093e\u0930']ΒΆ
future = u'{0} \u092a\u091b\u0940'ΒΆ
meridians = {u'AM': u'\u092a\u0942\u0930\u094d\u0935\u093e\u0939\u094d\u0928', u'PM': u'\u0905\u092a\u0930\u093e\u0928\u094d\u0939', u'am': u'\u092a\u0942\u0930\u094d\u0935\u093e\u0939\u094d\u0928', u'pm': u'\u0905\u092a\u0930\u093e\u0928\u094d\u0939'}ΒΆ
month_abbreviations = [u'', u'\u091c\u0928', u'\u092b\u0947\u092c', u'\u092e\u093e\u0930\u094d\u091a', u'\u090f\u092a\u094d\u0930\u0940\u0932', u'\u092e\u0947', u'\u091c\u0941\u0928', u'\u091c\u0941\u0932\u093e\u0908', u'\u0905\u0917', u'\u0938\u0947\u092a', u'\u0905\u0915\u094d\u091f', u'\u0928\u094b\u0935', u'\u0921\u093f\u0938']ΒΆ
month_names = [u'', u'\u091c\u0928\u0935\u0930\u0940', u'\u092b\u0947\u092c\u094d\u0930\u0941\u0905\u0930\u0940', u'\u092e\u093e\u0930\u094d\u091a', u'\u090f\u092a\u094d\u0930\u0940\u0932', u'\u092e\u0947', u'\u091c\u0941\u0928', u'\u091c\u0941\u0932\u093e\u0908', u'\u0905\u0917\u0937\u094d\u091f', u'\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930', u'\u0905\u0915\u094d\u091f\u094b\u092c\u0930', u'\u0928\u094b\u0935\u0947\u092e\u094d\u092c\u0930', u'\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930']ΒΆ
names = [u'ne', u'ne_np']ΒΆ
past = u'{0} \u092a\u0939\u093f\u0932\u0947'ΒΆ
timeframes = {u'day': u'\u090f\u0915 \u0926\u093f\u0928', u'days': u'{0} \u0926\u093f\u0928', u'hour': u'\u090f\u0915 \u0918\u0923\u094d\u091f\u093e', u'hours': u'{0} \u0918\u0923\u094d\u091f\u093e', u'minute': u'\u092e\u093f\u0928\u0947\u091f', u'minutes': u'{0} \u092e\u093f\u0928\u0947\u091f', u'month': u'\u090f\u0915 \u092e\u0939\u093f\u0928\u093e', u'months': u'{0} \u092e\u0939\u093f\u0928\u093e', u'now': u'\u0905\u0939\u093f\u0932\u0947', u'second': u'\u090f\u0915 \u0938\u0947\u0915\u0947\u0928\u094d\u0921', u'seconds': u'{0} \u0938\u0947\u0915\u0923\u094d\u0921', u'year': u'\u090f\u0915 \u092c\u0930\u094d\u0937', u'years': u'\u092c\u0930\u094d\u0937'}ΒΆ
class arrow.locales.NewNorwegianLocaleΒΆ
day_abbreviations = [u'', u'm\xe5', u'ty', u'on', u'to', u'fr', u'la', u'su']ΒΆ
day_names = [u'', u'm\xe5ndag', u'tysdag', u'onsdag', u'torsdag', u'fredag', u'laurdag', u'sundag']ΒΆ
future = u'om {0}'ΒΆ
month_abbreviations = [u'', u'jan', u'feb', u'mar', u'apr', u'mai', u'jun', u'jul', u'aug', u'sep', u'okt', u'nov', u'des']ΒΆ
month_names = [u'', u'januar', u'februar', u'mars', u'april', u'mai', u'juni', u'juli', u'august', u'september', u'oktober', u'november', u'desember']ΒΆ
names = [u'nn', u'nn_no']ΒΆ
past = u'for {0} sidan'ΒΆ
timeframes = {u'day': u'ein dag', u'days': u'{0} dagar', u'hour': u'ein time', u'hours': u'{0} timar', u'minute': u'ett minutt', u'minutes': u'{0} minutt', u'month': u'en m\xe5nad', u'months': u'{0} m\xe5nader', u'now': u'no nettopp', u'second': u'et sekund', u'seconds': u'{0} nokre sekund', u'year': u'eit \xe5r', u'years': u'{0} \xe5r'}ΒΆ
class arrow.locales.NorwegianLocaleΒΆ
day_abbreviations = [u'', u'ma', u'ti', u'on', u'to', u'fr', u'l\xf8', u's\xf8']ΒΆ
day_names = [u'', u'mandag', u'tirsdag', u'onsdag', u'torsdag', u'fredag', u'l\xf8rdag', u's\xf8ndag']ΒΆ
future = u'om {0}'ΒΆ
month_abbreviations = [u'', u'jan', u'feb', u'mar', u'apr', u'mai', u'jun', u'jul', u'aug', u'sep', u'okt', u'nov', u'des']ΒΆ
month_names = [u'', u'januar', u'februar', u'mars', u'april', u'mai', u'juni', u'juli', u'august', u'september', u'oktober', u'november', u'desember']ΒΆ
names = [u'nb', u'nb_no']ΒΆ
past = u'for {0} siden'ΒΆ
timeframes = {u'day': u'en dag', u'days': u'{0} dager', u'hour': u'en time', u'hours': u'{0} timer', u'minute': u'ett minutt', u'minutes': u'{0} minutter', u'month': u'en m\xe5ned', u'months': u'{0} m\xe5neder', u'now': u'n\xe5 nettopp', u'second': u'et sekund', u'seconds': u'{0} noen sekunder', u'year': u'ett \xe5r', u'years': u'{0} \xe5r'}ΒΆ
class arrow.locales.PolishLocaleΒΆ
day_abbreviations = [u'', u'Pn', u'Wt', u'\u015ar', u'Czw', u'Pt', u'So', u'Nd']ΒΆ
day_names = [u'', u'poniedzia\u0142ek', u'wtorek', u'\u015broda', u'czwartek', u'pi\u0105tek', u'sobota', u'niedziela']ΒΆ
future = u'za {0}'ΒΆ
month_abbreviations = [u'', u'sty', u'lut', u'mar', u'kwi', u'maj', u'cze', u'lip', u'sie', u'wrz', u'pa\u017a', u'lis', u'gru']ΒΆ
month_names = [u'', u'stycze\u0144', u'luty', u'marzec', u'kwiecie\u0144', u'maj', u'czerwiec', u'lipiec', u'sierpie\u0144', u'wrzesie\u0144', u'pa\u017adziernik', u'listopad', u'grudzie\u0144']ΒΆ
names = [u'pl', u'pl_pl']ΒΆ
past = u'{0} temu'ΒΆ
timeframes = {u'day': u'dzie\u0144', u'days': u'{0} dni', u'hour': u'godzin\u0119', u'hours': [u'{0} godzin', u'{0} godziny', u'{0} godzin'], u'minute': u'minut\u0119', u'minutes': [u'{0} minut', u'{0} minuty', u'{0} minut'], u'month': u'miesi\u0105c', u'months': [u'{0} miesi\u0119cy', u'{0} miesi\u0105ce', u'{0} miesi\u0119cy'], u'now': u'teraz', u'second': u'sekund\u0119', u'seconds': [u'{0} sekund', u'{0} sekundy', u'{0} sekund'], u'week': u'tydzie\u0144', u'weeks': [u'{0} tygodni', u'{0} tygodnie', u'{0} tygodni'], u'year': u'rok', u'years': [u'{0} lat', u'{0} lata', u'{0} lat']}ΒΆ
class arrow.locales.PortugueseLocaleΒΆ
and_word = u'e'ΒΆ
day_abbreviations = [u'', u'Seg', u'Ter', u'Qua', u'Qui', u'Sex', u'Sab', u'Dom']ΒΆ
day_names = [u'', u'Segunda-feira', u'Ter\xe7a-feira', u'Quarta-feira', u'Quinta-feira', u'Sexta-feira', u'S\xe1bado', u'Domingo']ΒΆ
future = u'em {0}'ΒΆ
month_abbreviations = [u'', u'Jan', u'Fev', u'Mar', u'Abr', u'Mai', u'Jun', u'Jul', u'Ago', u'Set', u'Out', u'Nov', u'Dez']ΒΆ
month_names = [u'', u'Janeiro', u'Fevereiro', u'Mar\xe7o', u'Abril', u'Maio', u'Junho', u'Julho', u'Agosto', u'Setembro', u'Outubro', u'Novembro', u'Dezembro']ΒΆ
names = [u'pt', u'pt_pt']ΒΆ
past = u'h\xe1 {0}'ΒΆ
timeframes = {u'day': u'um dia', u'days': u'{0} dias', u'hour': u'uma hora', u'hours': u'{0} horas', u'minute': u'um minuto', u'minutes': u'{0} minutos', u'month': u'um m\xeas', u'months': u'{0} meses', u'now': u'agora', u'second': u'um segundo', u'seconds': u'{0} segundos', u'week': u'uma semana', u'weeks': u'{0} semanas', u'year': u'um ano', u'years': u'{0} anos'}ΒΆ
class arrow.locales.RomanianLocaleΒΆ
and_word = u'\u0219i'ΒΆ
day_abbreviations = [u'', u'Lun', u'Mar', u'Mie', u'Joi', u'Vin', u'S\xe2m', u'Dum']ΒΆ
day_names = [u'', u'luni', u'mar\u021bi', u'miercuri', u'joi', u'vineri', u's\xe2mb\u0103t\u0103', u'duminic\u0103']ΒΆ
future = u'peste {0}'ΒΆ
month_abbreviations = [u'', u'ian', u'febr', u'mart', u'apr', u'mai', u'iun', u'iul', u'aug', u'sept', u'oct', u'nov', u'dec']ΒΆ
month_names = [u'', u'ianuarie', u'februarie', u'martie', u'aprilie', u'mai', u'iunie', u'iulie', u'august', u'septembrie', u'octombrie', u'noiembrie', u'decembrie']ΒΆ
names = [u'ro', u'ro_ro']ΒΆ
past = u'{0} \xeen urm\u0103'ΒΆ
timeframes = {u'day': u'o zi', u'days': u'{0} zile', u'hour': u'o or\u0103', u'hours': u'{0} ore', u'minute': u'un minut', u'minutes': u'{0} minute', u'month': u'o lun\u0103', u'months': u'{0} luni', u'now': u'acum', u'second': u'o secunda', u'seconds': u'{0} c\xe2teva secunde', u'year': u'un an', u'years': u'{0} ani'}ΒΆ
class arrow.locales.RomanshLocaleΒΆ
day_abbreviations = [u'', u'gli', u'ma', u'me', u'gie', u've', u'so', u'du']ΒΆ
day_names = [u'', u'glindesdi', u'mardi', u'mesemna', u'gievgia', u'venderdi', u'sonda', u'dumengia']ΒΆ
future = u'en {0}'ΒΆ
month_abbreviations = [u'', u'schan', u'fav', u'mars', u'avr', u'matg', u'zer', u'fan', u'avu', u'set', u'oct', u'nov', u'dec']ΒΆ
month_names = [u'', u'schaner', u'favrer', u'mars', u'avrigl', u'matg', u'zercladur', u'fanadur', u'avust', u'settember', u'october', u'november', u'december']ΒΆ
names = [u'rm', u'rm_ch']ΒΆ
past = u'avant {0}'ΒΆ
timeframes = {u'day': u'in di', u'days': u'{0} dis', u'hour': u"in'ura", u'hours': u'{0} ura', u'minute': u'ina minuta', u'minutes': u'{0} minutas', u'month': u'in mais', u'months': u'{0} mais', u'now': u'en quest mument', u'second': u'in secunda', u'seconds': u'{0} secundas', u'year': u'in onn', u'years': u'{0} onns'}ΒΆ
class arrow.locales.RussianLocaleΒΆ
day_abbreviations = [u'', u'\u043f\u043d', u'\u0432\u0442', u'\u0441\u0440', u'\u0447\u0442', u'\u043f\u0442', u'\u0441\u0431', u'\u0432\u0441']ΒΆ
day_names = [u'', u'\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a', u'\u0432\u0442\u043e\u0440\u043d\u0438\u043a', u'\u0441\u0440\u0435\u0434\u0430', u'\u0447\u0435\u0442\u0432\u0435\u0440\u0433', u'\u043f\u044f\u0442\u043d\u0438\u0446\u0430', u'\u0441\u0443\u0431\u0431\u043e\u0442\u0430', u'\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435']ΒΆ
future = u'\u0447\u0435\u0440\u0435\u0437 {0}'ΒΆ
month_abbreviations = [u'', u'\u044f\u043d\u0432', u'\u0444\u0435\u0432', u'\u043c\u0430\u0440', u'\u0430\u043f\u0440', u'\u043c\u0430\u0439', u'\u0438\u044e\u043d', u'\u0438\u044e\u043b', u'\u0430\u0432\u0433', u'\u0441\u0435\u043d', u'\u043e\u043a\u0442', u'\u043d\u043e\u044f', u'\u0434\u0435\u043a']ΒΆ
month_names = [u'', u'\u044f\u043d\u0432\u0430\u0440\u044f', u'\u0444\u0435\u0432\u0440\u0430\u043b\u044f', u'\u043c\u0430\u0440\u0442\u0430', u'\u0430\u043f\u0440\u0435\u043b\u044f', u'\u043c\u0430\u044f', u'\u0438\u044e\u043d\u044f', u'\u0438\u044e\u043b\u044f', u'\u0430\u0432\u0433\u0443\u0441\u0442\u0430', u'\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f', u'\u043e\u043a\u0442\u044f\u0431\u0440\u044f', u'\u043d\u043e\u044f\u0431\u0440\u044f', u'\u0434\u0435\u043a\u0430\u0431\u0440\u044f']ΒΆ
names = [u'ru', u'ru_ru']ΒΆ
past = u'{0} \u043d\u0430\u0437\u0430\u0434'ΒΆ
timeframes = {u'day': u'\u0434\u0435\u043d\u044c', u'days': [u'{0} \u0434\u0435\u043d\u044c', u'{0} \u0434\u043d\u044f', u'{0} \u0434\u043d\u0435\u0439'], u'hour': u'\u0447\u0430\u0441', u'hours': [u'{0} \u0447\u0430\u0441', u'{0} \u0447\u0430\u0441\u0430', u'{0} \u0447\u0430\u0441\u043e\u0432'], u'minute': u'\u043c\u0438\u043d\u0443\u0442\u0443', u'minutes': [u'{0} \u043c\u0438\u043d\u0443\u0442\u0443', u'{0} \u043c\u0438\u043d\u0443\u0442\u044b', u'{0} \u043c\u0438\u043d\u0443\u0442'], u'month': u'\u043c\u0435\u0441\u044f\u0446', u'months': [u'{0} \u043c\u0435\u0441\u044f\u0446', u'{0} \u043c\u0435\u0441\u044f\u0446\u0430', u'{0} \u043c\u0435\u0441\u044f\u0446\u0435\u0432'], u'now': u'\u0441\u0435\u0439\u0447\u0430\u0441', u'second': u'\u0412\u0442\u043e\u0440\u043e\u0439', u'seconds': u'{0} \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434', u'week': u'\u043d\u0435\u0434\u0435\u043b\u044e', u'weeks': [u'{0} \u043d\u0435\u0434\u0435\u043b\u044e', u'{0} \u043d\u0435\u0434\u0435\u043b\u0438', u'{0} \u043d\u0435\u0434\u0435\u043b\u044c'], u'year': u'\u0433\u043e\u0434', u'years': [u'{0} \u0433\u043e\u0434', u'{0} \u0433\u043e\u0434\u0430', u'{0} \u043b\u0435\u0442']}ΒΆ
class arrow.locales.SlavicBaseLocaleΒΆ
class arrow.locales.SlovakLocaleΒΆ
and_word = u'a'ΒΆ
day_abbreviations = [u'', u'po', u'ut', u'st', u'\u0161t', u'pi', u'so', u'ne']ΒΆ
day_names = [u'', u'pondelok', u'utorok', u'streda', u'\u0161tvrtok', u'piatok', u'sobota', u'nede\u013ea']ΒΆ
future = u'O {0}'ΒΆ
month_abbreviations = [u'', u'jan', u'feb', u'mar', u'apr', u'm\xe1j', u'j\xfan', u'j\xfal', u'aug', u'sep', u'okt', u'nov', u'dec']ΒΆ
month_names = [u'', u'janu\xe1r', u'febru\xe1r', u'marec', u'apr\xedl', u'm\xe1j', u'j\xfan', u'j\xfal', u'august', u'september', u'okt\xf3ber', u'november', u'december']ΒΆ
names = [u'sk', u'sk_sk']ΒΆ
past = u'Pred {0}'ΒΆ
timeframes = {u'day': {u'future': u'de\u0148', u'past': u'd\u0148om', u'zero': u'{0} dn\xed'}, u'days': {u'future': [u'{0} dni', u'{0} dn\xed'], u'past': u'{0} d\u0148ami'}, u'hour': {u'future': u'hodinu', u'past': u'hodinou', u'zero': u'{0} hod\xedn'}, u'hours': {u'future': [u'{0} hodiny', u'{0} hod\xedn'], u'past': u'{0} hodinami'}, u'minute': {u'future': u'min\xfatu', u'past': u'min\xfatou', u'zero': u'{0} min\xfat'}, u'minutes': {u'future': [u'{0} min\xfaty', u'{0} min\xfat'], u'past': u'{0} min\xfatami'}, u'month': {u'future': u'mesiac', u'past': u'mesiacom', u'zero': u'{0} mesiacov'}, u'months': {u'future': [u'{0} mesiace', u'{0} mesiacov'], u'past': u'{0} mesiacmi'}, u'now': u'Teraz', u'second': {u'future': u'sekundu', u'past': u'sekundou', u'zero': u'{0} sek\xfand'}, u'seconds': {u'future': [u'{0} sekundy', u'{0} sek\xfand'], u'past': u'{0} sekundami'}, u'week': {u'future': u't\xfd\u017ede\u0148', u'past': u't\xfd\u017ed\u0148om', u'zero': u'{0} t\xfd\u017ed\u0148ov'}, u'weeks': {u'future': [u'{0} t\xfd\u017edne', u'{0} t\xfd\u017ed\u0148ov'], u'past': u'{0} t\xfd\u017ed\u0148ami'}, u'year': {u'future': u'rok', u'past': u'rokom', u'zero': u'{0} rokov'}, u'years': {u'future': [u'{0} roky', u'{0} rokov'], u'past': u'{0} rokmi'}}ΒΆ
class arrow.locales.SlovenianLocaleΒΆ
and_word = u'in'ΒΆ
day_abbreviations = [u'', u'Pon', u'Tor', u'Sre', u'\u010cet', u'Pet', u'Sob', u'Ned']ΒΆ
day_names = [u'', u'Ponedeljek', u'Torek', u'Sreda', u'\u010cetrtek', u'Petek', u'Sobota', u'Nedelja']ΒΆ
future = u'\u010dez {0}'ΒΆ
meridians = {u'AM': u'', u'PM': u'', u'am': u'', u'pm': u''}ΒΆ
month_abbreviations = [u'', u'Jan', u'Feb', u'Mar', u'Apr', u'Maj', u'Jun', u'Jul', u'Avg', u'Sep', u'Okt', u'Nov', u'Dec']ΒΆ
month_names = [u'', u'Januar', u'Februar', u'Marec', u'April', u'Maj', u'Junij', u'Julij', u'Avgust', u'September', u'Oktober', u'November', u'December']ΒΆ
names = [u'sl', u'sl_si']ΒΆ
past = u'pred {0}'ΒΆ
timeframes = {u'day': u'dan', u'days': u'{0} dni', u'hour': u'uro', u'hours': u'{0} ur', u'minute': u'minuta', u'minutes': u'{0} minutami', u'month': u'mesec', u'months': u'{0} mesecev', u'now': u'zdaj', u'second': u'sekundo', u'seconds': u'{0} sekund', u'year': u'leto', u'years': u'{0} let'}ΒΆ
class arrow.locales.SpanishLocaleΒΆ
and_word = u'y'ΒΆ
day_abbreviations = [u'', u'lun', u'mar', u'mie', u'jue', u'vie', u'sab', u'dom']ΒΆ
day_names = [u'', u'lunes', u'martes', u'mi\xe9rcoles', u'jueves', u'viernes', u's\xe1bado', u'domingo']ΒΆ
future = u'en {0}'ΒΆ
meridians = {u'AM': u'AM', u'PM': u'PM', u'am': u'am', u'pm': u'pm'}ΒΆ
month_abbreviations = [u'', u'ene', u'feb', u'mar', u'abr', u'may', u'jun', u'jul', u'ago', u'sep', u'oct', u'nov', u'dic']ΒΆ
month_names = [u'', u'enero', u'febrero', u'marzo', u'abril', u'mayo', u'junio', u'julio', u'agosto', u'septiembre', u'octubre', u'noviembre', u'diciembre']ΒΆ
names = [u'es', u'es_es']ΒΆ
ordinal_day_re = u'((?P<value>[1-3]?[0-9](?=[\xba\xaa]))[\xba\xaa])'ΒΆ
past = u'hace {0}'ΒΆ
timeframes = {u'day': u'un d\xeda', u'days': u'{0} d\xedas', u'hour': u'una hora', u'hours': u'{0} horas', u'minute': u'un minuto', u'minutes': u'{0} minutos', u'month': u'un mes', u'months': u'{0} meses', u'now': u'ahora', u'second': u'un segundo', u'seconds': u'{0} segundos', u'week': u'una semana', u'weeks': u'{0} semanas', u'year': u'un a\xf1o', u'years': u'{0} a\xf1os'}ΒΆ
class arrow.locales.SwahiliLocaleΒΆ
and_word = u'na'ΒΆ
day_abbreviations = [u'', u'Jumatatu', u'Jumanne', u'Jumatano', u'Alhamisi', u'Ijumaa', u'Jumamosi', u'Jumapili']ΒΆ
day_names = [u'', u'Jumatatu', u'Jumanne', u'Jumatano', u'Alhamisi', u'Ijumaa', u'Jumamosi', u'Jumapili']ΒΆ
future = u'muda wa {0}'ΒΆ
meridians = {u'AM': u'ASU', u'PM': u'MCH', u'am': u'asu', u'pm': u'mch'}ΒΆ
month_abbreviations = [u'', u'Jan', u'Feb', u'Mac', u'Apr', u'Mei', u'Jun', u'Jul', u'Ago', u'Sep', u'Okt', u'Nov', u'Des']ΒΆ
month_names = [u'', u'Januari', u'Februari', u'Machi', u'Aprili', u'Mei', u'Juni', u'Julai', u'Agosti', u'Septemba', u'Oktoba', u'Novemba', u'Desemba']ΒΆ
names = [u'sw', u'sw_ke', u'sw_tz']ΒΆ
past = u'{0} iliyopita'ΒΆ
timeframes = {u'day': u'siku moja', u'days': u'siku {0}', u'hour': u'saa moja', u'hours': u'saa {0}', u'minute': u'dakika moja', u'minutes': u'dakika {0}', u'month': u'mwezi moja', u'months': u'miezi {0}', u'now': u'sasa hivi', u'second': u'sekunde', u'seconds': u'sekunde {0}', u'week': u'wiki moja', u'weeks': u'wiki {0}', u'year': u'mwaka moja', u'years': u'miaka {0}'}ΒΆ
class arrow.locales.SwedishLocaleΒΆ
and_word = u'och'ΒΆ
day_abbreviations = [u'', u'm\xe5n', u'tis', u'ons', u'tor', u'fre', u'l\xf6r', u's\xf6n']ΒΆ
day_names = [u'', u'm\xe5ndag', u'tisdag', u'onsdag', u'torsdag', u'fredag', u'l\xf6rdag', u's\xf6ndag']ΒΆ
future = u'om {0}'ΒΆ
month_abbreviations = [u'', u'jan', u'feb', u'mar', u'apr', u'maj', u'jun', u'jul', u'aug', u'sep', u'okt', u'nov', u'dec']ΒΆ
month_names = [u'', u'januari', u'februari', u'mars', u'april', u'maj', u'juni', u'juli', u'augusti', u'september', u'oktober', u'november', u'december']ΒΆ
names = [u'sv', u'sv_se']ΒΆ
past = u'f\xf6r {0} sen'ΒΆ
timeframes = {u'day': u'en dag', u'days': u'{0} dagar', u'hour': u'en timme', u'hours': u'{0} timmar', u'minute': u'en minut', u'minutes': u'{0} minuter', u'month': u'en m\xe5nad', u'months': u'{0} m\xe5nader', u'now': u'just nu', u'second': u'en sekund', u'seconds': u'{0} n\xe5gra sekunder', u'week': u'en vecka', u'weeks': u'{0} veckor', u'year': u'ett \xe5r', u'years': u'{0} \xe5r'}ΒΆ
class arrow.locales.SwissLocaleΒΆ
names = [u'de_ch']ΒΆ
class arrow.locales.TagalogLocaleΒΆ
day_abbreviations = [u'', u'Lun', u'Mar', u'Miy', u'Huw', u'Biy', u'Sab', u'Lin']ΒΆ
day_names = [u'', u'Lunes', u'Martes', u'Miyerkules', u'Huwebes', u'Biyernes', u'Sabado', u'Linggo']ΒΆ
future = u'{0} mula ngayon'ΒΆ
meridians = {u'AM': u'ng umaga', u'PM': u'ng hapon', u'am': u'nu', u'pm': u'nh'}ΒΆ
month_abbreviations = [u'', u'Ene', u'Peb', u'Mar', u'Abr', u'May', u'Hun', u'Hul', u'Ago', u'Set', u'Okt', u'Nob', u'Dis']ΒΆ
month_names = [u'', u'Enero', u'Pebrero', u'Marso', u'Abril', u'Mayo', u'Hunyo', u'Hulyo', u'Agosto', u'Setyembre', u'Oktubre', u'Nobyembre', u'Disyembre']ΒΆ
names = [u'tl', u'tl_ph']ΒΆ
past = u'nakaraang {0}'ΒΆ
timeframes = {u'day': u'isang araw', u'days': u'{0} araw', u'hour': u'isang oras', u'hours': u'{0} oras', u'minute': u'isang minuto', u'minutes': u'{0} minuto', u'month': u'isang buwan', u'months': u'{0} buwan', u'now': u'ngayon lang', u'second': u'isang segundo', u'seconds': u'{0} segundo', u'week': u'isang linggo', u'weeks': u'{0} linggo', u'year': u'isang taon', u'years': u'{0} taon'}ΒΆ
class arrow.locales.ThaiLocaleΒΆ
BE_OFFSET = 543ΒΆ
day_abbreviations = [u'', u'\u0e08', u'\u0e2d', u'\u0e1e', u'\u0e1e\u0e24', u'\u0e28', u'\u0e2a', u'\u0e2d\u0e32']ΒΆ
day_names = [u'', u'\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c', u'\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23', u'\u0e1e\u0e38\u0e18', u'\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35', u'\u0e28\u0e38\u0e01\u0e23\u0e4c', u'\u0e40\u0e2a\u0e32\u0e23\u0e4c', u'\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c']ΒΆ
future = u'\u0e43\u0e19\u0e2d\u0e35\u0e01{1}{0}'ΒΆ
meridians = {u'AM': u'AM', u'PM': u'PM', u'am': u'am', u'pm': u'pm'}ΒΆ
month_abbreviations = [u'', u'\u0e21.\u0e04.', u'\u0e01.\u0e1e.', u'\u0e21\u0e35.\u0e04.', u'\u0e40\u0e21.\u0e22.', u'\u0e1e.\u0e04.', u'\u0e21\u0e34.\u0e22.', u'\u0e01.\u0e04.', u'\u0e2a.\u0e04.', u'\u0e01.\u0e22.', u'\u0e15.\u0e04.', u'\u0e1e.\u0e22.', u'\u0e18.\u0e04.']ΒΆ
month_names = [u'', u'\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21', u'\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c', u'\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21', u'\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19', u'\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21', u'\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19', u'\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21', u'\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21', u'\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19', u'\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21', u'\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19', u'\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21']ΒΆ
names = [u'th', u'th_th']ΒΆ
past = u'{0}{1}\u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e21\u0e32'ΒΆ
timeframes = {u'day': u'1 \u0e27\u0e31\u0e19', u'days': u'{0} \u0e27\u0e31\u0e19', u'hour': u'1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07', u'hours': u'{0} \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07', u'minute': u'1 \u0e19\u0e32\u0e17\u0e35', u'minutes': u'{0} \u0e19\u0e32\u0e17\u0e35', u'month': u'1 \u0e40\u0e14\u0e37\u0e2d\u0e19', u'months': u'{0} \u0e40\u0e14\u0e37\u0e2d\u0e19', u'now': u'\u0e02\u0e13\u0e30\u0e19\u0e35\u0e49', u'second': u'\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35', u'seconds': u'{0} \u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35', u'year': u'1 \u0e1b\u0e35', u'years': u'{0} \u0e1b\u0e35'}ΒΆ
year_abbreviation(year)ΒΆ

Thai always use Buddhist Era (BE) which is CE + 543

year_full(year)ΒΆ

Thai always use Buddhist Era (BE) which is CE + 543

class arrow.locales.TurkishLocaleΒΆ
day_abbreviations = [u'', u'Pzt', u'Sal', u'\xc7ar', u'Per', u'Cum', u'Cmt', u'Paz']ΒΆ
day_names = [u'', u'Pazartesi', u'Sal\u0131', u'\xc7ar\u015famba', u'Per\u015fembe', u'Cuma', u'Cumartesi', u'Pazar']ΒΆ
future = u'{0} sonra'ΒΆ
month_abbreviations = [u'', u'Oca', u'\u015eub', u'Mar', u'Nis', u'May', u'Haz', u'Tem', u'A\u011fu', u'Eyl', u'Eki', u'Kas', u'Ara']ΒΆ
month_names = [u'', u'Ocak', u'\u015eubat', u'Mart', u'Nisan', u'May\u0131s', u'Haziran', u'Temmuz', u'A\u011fustos', u'Eyl\xfcl', u'Ekim', u'Kas\u0131m', u'Aral\u0131k']ΒΆ
names = [u'tr', u'tr_tr']ΒΆ
past = u'{0} \xf6nce'ΒΆ
timeframes = {u'day': u'bir g\xfcn', u'days': u'{0} g\xfcn', u'hour': u'bir saat', u'hours': u'{0} saat', u'minute': u'bir dakika', u'minutes': u'{0} dakika', u'month': u'bir ay', u'months': u'{0} ay', u'now': u'\u015fimdi', u'second': u'bir saniye', u'seconds': u'{0} saniye', u'year': u'y\u0131l', u'years': u'{0} y\u0131l'}ΒΆ
class arrow.locales.UkrainianLocaleΒΆ
day_abbreviations = [u'', u'\u043f\u043d', u'\u0432\u0442', u'\u0441\u0440', u'\u0447\u0442', u'\u043f\u0442', u'\u0441\u0431', u'\u043d\u0434']ΒΆ
day_names = [u'', u'\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a', u'\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a', u'\u0441\u0435\u0440\u0435\u0434\u0430', u'\u0447\u0435\u0442\u0432\u0435\u0440', u'\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f', u'\u0441\u0443\u0431\u043e\u0442\u0430', u'\u043d\u0435\u0434\u0456\u043b\u044f']ΒΆ
future = u'\u0437\u0430 {0}'ΒΆ
month_abbreviations = [u'', u'\u0441\u0456\u0447', u'\u043b\u044e\u0442', u'\u0431\u0435\u0440', u'\u043a\u0432\u0456\u0442', u'\u0442\u0440\u0430\u0432', u'\u0447\u0435\u0440\u0432', u'\u043b\u0438\u043f', u'\u0441\u0435\u0440\u043f', u'\u0432\u0435\u0440', u'\u0436\u043e\u0432\u0442', u'\u043b\u0438\u0441\u0442', u'\u0433\u0440\u0443\u0434']ΒΆ
month_names = [u'', u'\u0441\u0456\u0447\u043d\u044f', u'\u043b\u044e\u0442\u043e\u0433\u043e', u'\u0431\u0435\u0440\u0435\u0437\u043d\u044f', u'\u043a\u0432\u0456\u0442\u043d\u044f', u'\u0442\u0440\u0430\u0432\u043d\u044f', u'\u0447\u0435\u0440\u0432\u043d\u044f', u'\u043b\u0438\u043f\u043d\u044f', u'\u0441\u0435\u0440\u043f\u043d\u044f', u'\u0432\u0435\u0440\u0435\u0441\u043d\u044f', u'\u0436\u043e\u0432\u0442\u043d\u044f', u'\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430', u'\u0433\u0440\u0443\u0434\u043d\u044f']ΒΆ
names = [u'ua', u'uk_ua']ΒΆ
past = u'{0} \u0442\u043e\u043c\u0443'ΒΆ
timeframes = {u'day': u'\u0434\u0435\u043d\u044c', u'days': [u'{0} \u0434\u0435\u043d\u044c', u'{0} \u0434\u043d\u0456', u'{0} \u0434\u043d\u0456\u0432'], u'hour': u'\u0433\u043e\u0434\u0438\u043d\u0443', u'hours': [u'{0} \u0433\u043e\u0434\u0438\u043d\u0443', u'{0} \u0433\u043e\u0434\u0438\u043d\u0438', u'{0} \u0433\u043e\u0434\u0438\u043d'], u'minute': u'\u0445\u0432\u0438\u043b\u0438\u043d\u0443', u'minutes': [u'{0} \u0445\u0432\u0438\u043b\u0438\u043d\u0443', u'{0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438', u'{0} \u0445\u0432\u0438\u043b\u0438\u043d'], u'month': u'\u043c\u0456\u0441\u044f\u0446\u044c', u'months': [u'{0} \u043c\u0456\u0441\u044f\u0446\u044c', u'{0} \u043c\u0456\u0441\u044f\u0446\u0456', u'{0} \u043c\u0456\u0441\u044f\u0446\u0456\u0432'], u'now': u'\u0437\u0430\u0440\u0430\u0437', u'second': u'\u0441\u0435\u043a\u0443\u043d\u0434\u0430', u'seconds': u'{0} \u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434', u'year': u'\u0440\u0456\u043a', u'years': [u'{0} \u0440\u0456\u043a', u'{0} \u0440\u043e\u043a\u0438', u'{0} \u0440\u043e\u043a\u0456\u0432']}ΒΆ
class arrow.locales.VietnameseLocaleΒΆ
day_abbreviations = [u'', u'Th\u1ee9 2', u'Th\u1ee9 3', u'Th\u1ee9 4', u'Th\u1ee9 5', u'Th\u1ee9 6', u'Th\u1ee9 7', u'CN']ΒΆ
day_names = [u'', u'Th\u1ee9 Hai', u'Th\u1ee9 Ba', u'Th\u1ee9 T\u01b0', u'Th\u1ee9 N\u0103m', u'Th\u1ee9 S\xe1u', u'Th\u1ee9 B\u1ea3y', u'Ch\u1ee7 Nh\u1eadt']ΒΆ
future = u'{0} n\u1eefa'ΒΆ
month_abbreviations = [u'', u'Th\xe1ng 1', u'Th\xe1ng 2', u'Th\xe1ng 3', u'Th\xe1ng 4', u'Th\xe1ng 5', u'Th\xe1ng 6', u'Th\xe1ng 7', u'Th\xe1ng 8', u'Th\xe1ng 9', u'Th\xe1ng 10', u'Th\xe1ng 11', u'Th\xe1ng 12']ΒΆ
month_names = [u'', u'Th\xe1ng M\u1ed9t', u'Th\xe1ng Hai', u'Th\xe1ng Ba', u'Th\xe1ng T\u01b0', u'Th\xe1ng N\u0103m', u'Th\xe1ng S\xe1u', u'Th\xe1ng B\u1ea3y', u'Th\xe1ng T\xe1m', u'Th\xe1ng Ch\xedn', u'Th\xe1ng M\u01b0\u1eddi', u'Th\xe1ng M\u01b0\u1eddi M\u1ed9t', u'Th\xe1ng M\u01b0\u1eddi Hai']ΒΆ
names = [u'vi', u'vi_vn']ΒΆ
past = u'{0} tr\u01b0\u1edbc'ΒΆ
timeframes = {u'day': u'm\u1ed9t ng\xe0y', u'days': u'{0} ng\xe0y', u'hour': u'm\u1ed9t gi\u1edd', u'hours': u'{0} gi\u1edd', u'minute': u'm\u1ed9t ph\xfat', u'minutes': u'{0} ph\xfat', u'month': u'm\u1ed9t th\xe1ng', u'months': u'{0} th\xe1ng', u'now': u'hi\u1ec7n t\u1ea1i', u'second': u'm\u1ed9t gi\xe2y', u'seconds': u'{0} gi\xe2y', u'week': u'm\u1ed9t tu\u1ea7n', u'weeks': u'{0} tu\u1ea7n', u'year': u'm\u1ed9t n\u0103m', u'years': u'{0} n\u0103m'}ΒΆ
arrow.locales.get_locale(name)ΒΆ

Returns an appropriate Locale corresponding to an inpute locale name.

Parameters:name – the name of the locale.
arrow.locales.get_locale_by_class_name(name)ΒΆ

Returns an appropriate Locale corresponding to an locale class name.

Parameters:name – the name of the locale class.