summaryrefslogtreecommitdiff
path: root/src/op_mode/maya_date.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-03-20 18:41:24 +0200
committerViacheslav Hletenko <v.gletenko@vyos.io>2026-03-24 17:02:56 +0000
commitbb2aee1e58c1cd30087b935798060e6bf3c698c8 (patch)
tree99f692623ad596519ff26da443f62415cc3bcf59 /src/op_mode/maya_date.py
parenta9a75eb7dce077bceee1ae13dc943b05d8759925 (diff)
downloadvyos-1x-bb2aee1e58c1cd30087b935798060e6bf3c698c8.tar.gz
vyos-1x-bb2aee1e58c1cd30087b935798060e6bf3c698c8.zip
T8410: Fix typos and mistakes for operational and configuration commands
Fix typos and mistakes in the commands and comments No functional changes
Diffstat (limited to 'src/op_mode/maya_date.py')
-rwxr-xr-xsrc/op_mode/maya_date.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op_mode/maya_date.py b/src/op_mode/maya_date.py
index 06f2f22b1..2d5a13ab9 100755
--- a/src/op_mode/maya_date.py
+++ b/src/op_mode/maya_date.py
@@ -168,7 +168,7 @@ class MayaDate(object):
""" The start date is not the beginning of both cycles,
it's 4 Ajaw. So we need to add 4 to the 13 days cycle day,
- and substract 1 from the 20 day cycle to get correct result.
+ and subtract 1 from the 20 day cycle to get correct result.
"""
tzolkin_13 = (days + 4) % 13
tzolkin_20 = (days - 1) % 20
@@ -181,7 +181,7 @@ class MayaDate(object):
""" Returns haab date string.
The time start on 8 Kumk'u rather than 0 Pop, which is
- 17 days before the new haab, so we need to substract 17
+ 17 days before the new haab, so we need to subtract 17
from the current date to get correct result.
"""
days = self.days