Test date handlers
See date handler for new method on master (trunk).
List of date handlers is available.
Migrations and refactorings
> $ PYTHONPATH=/usr/local/lib/python2.7/site-packages/ GRAMPS_RESOURCES=$PWD LANGUAGE=de python -m gramps.gen.datehandler._datestrings
LC_TIME={lang_region}.utf8 or LANGUAGE={lang} should match all available date handlers.
See # 6926 for patches. Git => revision 918785..
TO_CHECK
>$ PYTHONPATH=/usr/local/lib/python2.7/site-packages/ LC_ALL=en_GB.utf8 LANG=en_GB.utf8 GRAMPS_RESOURCES=$PWD python -m unittest discover -p 'date*test.py'
locale | score | date formats MAX: 8 |
---|---|---|
ar | 6 | |
bg | 6 | |
ca | 6 | |
cs | 6 | |
da | 6 | |
de | Ran 59 tests in 7.665s (using the fallback 'C' locale) | 6 |
en | Ran 59 tests in 7.558s (using the fallback 'C' locale) | 6 |
el | 5 | |
es | 6 | |
fi | 2 | |
fr | Ran 59 tests in 9.007s (skipped=1) | 8 |
hr | Ran 59 tests in 7.771s (using the fallback 'C' locale) | 6 |
it | 6 | |
lt | 3 | |
nb | 6 | |
nl | 6 | |
nn | 6 | |
ru | Ran 59 tests in 7.646s (using the fallback 'C' locale) | 6 |
pl | 6 | |
pt | 6 | |
sk | 6 | |
sl | 4 | |
sr | 5 | |
sv | Ran 59 tests in 7.662s (using the fallback 'C' locale) | 6 |
uk | 6 | |
.. | .. | .. |
> $ PYTHONPATH=/usr/local/lib/python2.7/site-packages/ GRAMPS_RESOURCES=$PWD python -m gramps.gen.datehandler.__init__