Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pendulum/locales/en/custom.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

2 statements  

1""" 

2en custom locale file. 

3""" 

4from __future__ import annotations 

5 

6 

7translations = { 

8 "units": {"few_second": "a few seconds"}, 

9 # Relative time 

10 "ago": "{} ago", 

11 "from_now": "in {}", 

12 "after": "{0} after", 

13 "before": "{0} before", 

14 # Ordinals 

15 "ordinal": {"one": "st", "two": "nd", "few": "rd", "other": "th"}, 

16 # Date formats 

17 "date_formats": { 

18 "LTS": "h:mm:ss A", 

19 "LT": "h:mm A", 

20 "L": "MM/DD/YYYY", 

21 "LL": "MMMM D, YYYY", 

22 "LLL": "MMMM D, YYYY h:mm A", 

23 "LLLL": "dddd, MMMM D, YYYY h:mm A", 

24 }, 

25}