pimutils / pimutils/khal

Date display misaligned with Hungarian locale

Open
#1,449 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

Describe the bug

Running LC_ALL=hu_HU.UTF-8 ikhal shows

       h     k     sz cs p  Yesterday (szerda, 2026.01.07)
        8  9 10 11 12 13 14  
       15 16 17 18 19 20 21  
       22 23 24 25 26 27 28  
jan    29 30 31  1  2  3  4  
        5  6  7  8  9 10 11

Notice it's only 5 days and completely misaligned.

OS, version, khal version and how you installed it:

  • The output of khal --version: khal, version 0.13.0
  • Installation method: arch (khal 0.13.0-2)
  • python version: 3.13.11 (main, Dec 15 2025, 10:06:06) [GCC 15.2.1 20251112]
  • OS: CachyOS
  • Your khal config file
  • The versions of your other python packages [e.g. the output of pip freeze]
[view]

agenda_event_format= {calendar-color}{cancelled}{start-end-time-style} {title} ({calendar}) {repeat-symbol}{alarm-symbol}{description-separator}{description}{reset}

[locale]
local_timezone= Europe/Budapest
default_timezone= Europe/Budapest
timeformat= %H:%M
dateformat= %m.%d.
longdateformat= %Y.%m.%d
datetimeformat= %m.%d. %H:%M
longdatetimeformat= %Y.%m.%d %H:%M

full: https://github.com/ferdinandyb/dotfiles/blob/master/.config/khal/config

aiohappyeyeballs==2.6.1
aiohttp==3.13.2
aiohttp-oauthlib==0.1.0
aiosignal==1.4.0
aiostream==0.7.1
annotated-types==0.7.0
ansible==13.2.0
ansible-core==2.20.1
arandr==0.1.11
argcomplete==3.6.2
arrow==1.4.0
asciidoc==10.2.1
asttokens==3.0.0
atomicwrites==1.4.1
attrs==25.4.0
autocommand==2.2.2
Automat==25.4.16
backports.zstd==1.2.0
bcrypt==5.0.0
beautifulsoup4==4.14.3
btrfsutil==6.17.1
build==1.3.0
CacheControl==0.14.4
cachy==0.3.0
cbor2==5.8.0
certifi==2025.11.12
cffi==2.0.0
chardet==5.2.0
charset-normalizer==3.4.4
circuitbreaker==2.1.3
cleo==2.1.0
click==8.2.1
click-log==0.4.0
configobj==5.0.9
constantly==23.10.4
crashtest==0.4.1
cryptography==46.0.3
cupshelpers==1.0
dbus-python==1.4.0
decorator==5.2.1
defusedxml==0.7.1
deluge==2.2.0
distlib==0.4.0
distro==1.9.0
docopt==0.6.2
dulwich==0.24.10
evdev==1.9.2
executing==2.2.1
fastjsonschema==2.21.2
filelock==3.20.0
findpython==0.7.1
fluidity-sm==0.2.1
frozenlist==1.8.0
GeoIP==1.3.2
Glances==4.4.1
greenlet==3.3.0
html2text==2025.4.15
html5lib==1.1
httpie==3.2.4
hyperlink==21.0.0
i3ipc==2.2.1
icalendar==6.3.2
idna==3.11
ifaddr==0.2.0
incremental==24.7.2
iniconfig==2.1.0
installer==0.7.0
invoke==2.2.1
ipython==9.7.0
ipython_pygments_lexers==1.1.1
jaraco.classes==3.4.0
jaraco.collections==5.1.0
jaraco.context==6.0.1
jaraco.functools==4.1.0
jaraco.text==4.0.0
jedi==0.19.2
jeepney==0.9.0
Jinja2==3.1.6
jmespath==1.0.1
jsonschema==4.25.1
jsonschema-specifications==2025.9.1
kazam==1.4.5
keyring==25.7.0
khal==0.13.0
khard==0.20.0
lark==1.3.1
lensfun==0.3.4
lexicon==3.0.0
libtorrent==2.0.11
lit==21.1.6.dev0
lockfile==0.12.2
lxml==6.0.2
Mako==1.3.10.dev0
markdown-it-py==4.0.0
MarkupSafe==3.0.2
matplotlib-inline==0.2.1
mdurl==0.1.2
moddb==0.14.0
more-itertools==10.8.0
msgpack==1.1.2
multidict==6.7.0
natsort==8.4.0
netsnmp-python==1.0a1
nftables==0.1
notmuch2==0.39
numpy==2.4.0
oauthlib==3.3.1
oci==2.164.1
oci-cli==3.71.1
orjson==3.11.5
packaging==25.0
pandas==2.3.1
paramiko==4.0.0
parso==0.8.5
pbs-installer==2025.12.17
pexpect==4.9.0
pillow==12.1.0
pipe==2.2
pipx==1.8.0
pkginfo==1.12.1.2
platformdirs==4.5.1
pluggy==1.6.0
podman-compose==1.5.0
poetry==2.2.1
poetry-core==2.2.1
poetry-plugin-export==1.9.0
prompt_toolkit==3.0.52
propcache==0.4.1
proselint==0.14.0
protontricks==1.13.1
psutil==7.1.3
ptyprocess==0.7.0
pure_eval==0.2.3
pwquality==1.4.5
pyasn1==0.6.1
pyasn1_modules==0.4.2
pycairo==1.29.0
pycparser==2.23
pycups==2.0.4
pydantic==2.12.5
pydantic_core==2.41.5
Pygments==2.19.2
PyGObject==3.54.5
PyNaCl==1.6.1
pynvim==0.6.0
pyOpenSSL==25.3.0
pypdf==6.5.0
pyproject_hooks==1.2.0
PyQt5==5.15.11
PyQt5_sip==12.17.2
PySocks==1.7.1
pytest==8.4.2
python-dateutil==2.9.0
python-distutils-extra==2.39
python-dotenv==1.2.1
python-xlib==0.33
pytz==2025.2
pyudev==0.24.3
pyxdg==0.28
PyYAML==6.0.3
pyzstd==0.19.1
QTermWidget==2.3.0
RapidFuzz==3.14.3
referencing==0.37.0
Reflector==2023.6.28.0.36.1
rencode==1.0.8
reportlab==4.2.2
requests==2.32.5
requests-toolbelt==1.0.0
resolvelib==1.2.1
retrying==1.3.4
rich==14.2.0
rpds-py==0.30.0
ruamel.yaml==0.18.10
ruamel.yaml.clib==0.2.15
SecretStorage==3.3.3
service-identity==24.2.0
setproctitle==1.3.7
setuptools==80.9.0
shellingham==1.5.4
shtab==1.8.0
six==1.17.0
solaar==1.1.18
soupsieve==2.8.1
speedtest-cli==2.1.3
stack_data==0.6.3
tasklib==2.5.1
terminaltables3==4.0.0
tomlkit==0.13.3
tqdm==4.67.1
traitlets==5.14.3
trove-classifiers==2025.12.1.14
Twisted==24.7.0
types-python-dateutil==2.9.0.20251115
typing-inspection==0.4.2
typing_extensions==4.15.0
tzlocal==5.3.1
ueberzug==18.3.1
ufw==0.36.2
umu-launcher==1.3.0
urllib3==2.6.2
urwid==3.0.4
userpath==1.9.2
validate==5.0.9
vdf==4.0
vdirsyncer==0.20.0
virtualenv==20.35.4
vit==2.3.3
vobject==0.9.9
wcwidth==0.2.14
webencodings==0.5.1
wheel==0.45.1
wxPython==4.2.3
xlsxwriter==3.2.9
xxhash==3.6.0
yarl==1.22.0
zope.interface==8.1.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with LC_ALL=hu_HU.UTF-8 ikhal using the reported khal 0.13.0 configuration, then trace the ikhal date-display entry point and compare the Hungarian output with another locale. Done means the calendar shows all seven days with correctly aligned columns under the Hungarian locale.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.