�� v1.4.1 - Container Timezone Support
This patch release fixes timezone handling in Docker containers to properly display timestamps in the user's local timezone.
🐛 Fixed
Container Timezone Support
- Issue: Container logs showed UTC timestamps regardless of
TZenvironment variable setting - Solution: Added timezone data support and configuration to Docker container
- Impact: Container now properly respects timezone settings for international users
🔧 Technical Implementation
Docker Changes
- Added
tzdatapackage to Alpine base image for timezone information - Maintains minimal container size while adding timezone support
Application Changes
- Implemented timezone detection and configuration in Go application
- Reads
TZenvironment variable and setstime.Localaccordingly - Provides confirmation logging when timezone is successfully set
- Graceful fallback with warning message if timezone loading fails
📋 Usage
With Timezone Support
docker run -e TZ=Europe/Vienna ghcr.io/drallgood/audiobookshelf-hardcover-sync:latestThe container will:
- Log:
Timezone set to: Europe/Vienna - Display all timestamps in CEST (Central European Summer Time)
- Maintain full application functionality
Backward Compatibility
- Works perfectly without
TZenvironment variable - No breaking changes to existing deployments
- Default behavior unchanged for existing users
✅ Verified
- ✅ Timezone configuration working correctly
- ✅ Vienna timezone (CEST) displays properly
- ✅ UTC comparison confirms correct 2-hour offset
- ✅ Application logging shows timezone confirmation
- ✅ All tests passing (28/28)
- ✅ Docker builds successfully
- ✅ Backward compatibility maintained
🔄 Upgrade Path
This is a patch release with no breaking changes. Simply update your container image:
docker pull ghcr.io/drallgood/audiobookshelf-hardcover-sync:v1.4.1Or use latest tag which now points to v1.4.1.
Full Changelog: v1.4.0...v1.4.1