Skip to content

fix: install tzdata on ddev - #40

Merged
stasadev merged 1 commit into
ddev:mainfrom
theodorosploumis:patch-1
Jul 31, 2026
Merged

fix: install tzdata on ddev#40
stasadev merged 1 commit into
ddev:mainfrom
theodorosploumis:patch-1

Conversation

@theodorosploumis

Copy link
Copy Markdown
Contributor

In order to use the config value timezone we need to have the tzdata installed.

More info about this option at https://docs.ddev.com/en/stable/users/configuration/config/#timezone

The Issue

  • Fixes #REPLACE_ME_WITH_RELATED_ISSUE_NUMBER

When we use a .ddev/config.yml with a value on key timezone the runner fails with a message like this: Failed to start project(s): the XXX project has an invalid timezone Europe/Athens: unknown time zone Europe/Athens

How This PR Solves The Issue

We just install the missing library so we have it.

In order to use the config value `timezone` we need to have the tzdata installed.

More info about this option at https://docs.ddev.com/en/stable/users/configuration/config/#timezone
@rfay

rfay commented Jul 29, 2026

Copy link
Copy Markdown
Member

I'm surprised about that issue, haven't heard of it before on DDEV. I guess the thing is it's on a limited runner?

@stasadev stasadev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Since DDEV runs with Docker-in-Docker, it checks for tzdata on the host, which in this case is a Docker image.


Side note: I see that tzdata is already preinstalled in the Traefik router (Alpine image):

$ docker exec ddev-router apk info -e tzdata
tzdata

@stasadev
stasadev merged commit be5b68b into ddev:main Jul 31, 2026
2 checks passed
@stasadev

Copy link
Copy Markdown
Member

I pushed the stable, v1.25, v1.25.3, and latest tags again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants