[PR #577] [CLOSED] Use env variable TZ to set timezone, fallback to UTC #1494

Closed
opened 2025-12-29 02:30:16 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/577
Author: @deonthomasgy
Created: 5/10/2022
Status: Closed

Base: mainHead: dev/thomas/timezone


📝 Commits (3)

  • 5dd32ac Use env variable TZ to set timezone, fallback to UTC
  • 24764e0 Merge branch 'main' into dev/thomas/timezone
  • 7e75731 Merge branch 'main' into dev/thomas/timezone

📊 Changes

9 files changed (+51 additions, -16 deletions)

View changed files

📝 api.go (+6 -3)
📝 app.go (+5 -2)
📝 cmd/headscale/cli/api_key.go (+3 -1)
📝 cmd/headscale/cli/nodes.go (+3 -1)
📝 cmd/headscale/cli/preauthkeys.go (+3 -1)
📝 cmd/headscale/headscale.go (+13 -1)
📝 machine.go (+3 -1)
📝 poll.go (+12 -5)
📝 preauth_keys.go (+3 -1)

📄 Description

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/577 **Author:** [@deonthomasgy](https://github.com/deonthomasgy) **Created:** 5/10/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev/thomas/timezone` --- ### 📝 Commits (3) - [`5dd32ac`](https://github.com/juanfont/headscale/commit/5dd32acc6aac1dd5e729ff7d2691828c18df8aef) Use env variable TZ to set timezone, fallback to UTC - [`24764e0`](https://github.com/juanfont/headscale/commit/24764e04f0e6c7b4976c074a9b14a07d609f695f) Merge branch 'main' into dev/thomas/timezone - [`7e75731`](https://github.com/juanfont/headscale/commit/7e75731d5ecd854aee47ff2b14a921267fe68c74) Merge branch 'main' into dev/thomas/timezone ### 📊 Changes **9 files changed** (+51 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `api.go` (+6 -3) 📝 `app.go` (+5 -2) 📝 `cmd/headscale/cli/api_key.go` (+3 -1) 📝 `cmd/headscale/cli/nodes.go` (+3 -1) 📝 `cmd/headscale/cli/preauthkeys.go` (+3 -1) 📝 `cmd/headscale/headscale.go` (+13 -1) 📝 `machine.go` (+3 -1) 📝 `poll.go` (+12 -5) 📝 `preauth_keys.go` (+3 -1) </details> ### 📄 Description <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#user-content-contributing) - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:30:16 +01:00
adam closed this issue 2025-12-29 02:30:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1494