summaryrefslogtreecommitdiffstats
path: root/src/pendulum/locales/nn/custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pendulum/locales/nn/custom.py')
-rw-r--r--src/pendulum/locales/nn/custom.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/pendulum/locales/nn/custom.py b/src/pendulum/locales/nn/custom.py
new file mode 100644
index 0000000..554e7f3
--- /dev/null
+++ b/src/pendulum/locales/nn/custom.py
@@ -0,0 +1,22 @@
+"""
+nn custom locale file.
+"""
+from __future__ import annotations
+
+
+translations = {
+ # Relative time
+ "after": "{0} etter",
+ "before": "{0} før",
+ # Ordinals
+ "ordinal": {"one": ".", "two": ".", "few": ".", "other": "."},
+ # Date formats
+ "date_formats": {
+ "LTS": "HH:mm:ss",
+ "LT": "HH:mm",
+ "LLLL": "dddd Do MMMM YYYY HH:mm",
+ "LLL": "Do MMMM YYYY HH:mm",
+ "LL": "Do MMMM YYYY",
+ "L": "DD.MM.YYYY",
+ },
+}