Skip to content

Fix Time-Zone detection on Linux#104

Merged
JanPetterMG merged 1 commit intomainfrom
fix-tz-detection
Sep 9, 2025
Merged

Fix Time-Zone detection on Linux#104
JanPetterMG merged 1 commit intomainfrom
fix-tz-detection

Conversation

@JanPetterMG
Copy link
Copy Markdown
Collaborator

Summary

This PR addresses a bug in the build-script where non-printable characters were included in the POSIX time-zone string when detecting the time-zone from the host OS on Linux systems.

Changes

  • Sanitized the detected POSIX time-zone string to strip non-printable characters.

Impact

  • Ensures correct time-zone detection on Linux hosts.

  • Prevents build issues caused by malformed time-zone strings.

Testing

  • Tested on Obegränsad

  • Verified working on Windows 11

  • Verified working on Linux Mint 22 (VM)


Linked Issue

Fixes #100

@JanPetterMG JanPetterMG added this to the v1.1.1 milestone Sep 9, 2025
@JanPetterMG JanPetterMG added bug Something isn't working tools Toolbox related labels Sep 9, 2025
@JanPetterMG JanPetterMG merged commit 2d101d5 into main Sep 9, 2025
10 checks passed
@JanPetterMG JanPetterMG deleted the fix-tz-detection branch September 9, 2025 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working tools Toolbox related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

timezone detection not working

1 participant