github drallgood/audiobookshelf-hardcover-sync v1.4.1
v1.4.1 - Container Timezone Support

latest releases: v3.0.0, v2.1.0, v2.0.1...
5 months ago

�� 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 TZ environment 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 tzdata package 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 TZ environment variable and sets time.Local accordingly
  • 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:latest

The 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 TZ environment 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.1

Or use latest tag which now points to v1.4.1.


Full Changelog: v1.4.0...v1.4.1

Don't miss a new audiobookshelf-hardcover-sync release

NewReleases is sending notifications on new releases.