Mercurial > babel > old > babel-test
comparison doc/formatting.txt @ 20:2fdc2b500347
Fix typo in doc.
author | cmlenz |
---|---|
date | Thu, 31 May 2007 17:58:38 +0000 |
parents | 77a68f88f6bc |
children | da1c9610e751 |
comparison
equal
deleted
inserted
replaced
19:c0c92d11f1ab | 20:2fdc2b500347 |
---|---|
33 The ``format_*()`` functions also accept an optional ``format`` argument, which | 33 The ``format_*()`` functions also accept an optional ``format`` argument, which |
34 allows you to choose between one of four format variations: | 34 allows you to choose between one of four format variations: |
35 | 35 |
36 * ``short``, | 36 * ``short``, |
37 * ``medium`` (the default), | 37 * ``medium`` (the default), |
38 * ``long`` (the default), and | 38 * ``long``, and |
39 * ``full`` (the default). | 39 * ``full``. |
40 | 40 |
41 For example:: | 41 For example:: |
42 | 42 |
43 >>> format_date(d, format='short', locale='en') | 43 >>> format_date(d, format='short', locale='en') |
44 u'4/1/07' | 44 u'4/1/07' |