Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 647
    • Issues 647
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 177
    • Merge Requests 177
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12090

Closed
Open
Opened Nov 09, 2020 by developer-kikikaikai@developer-kikikaikai
  • Report abuse
  • New issue
Report abuse New issue

Golang 1.12 code can't convert JST timezone on an alpine docker image with a tzdata later 2020c-r0

Hi, I'm using an alpine docker image && golang 1.12. It has some codes to convert JST timezone.

It had been running to convert JST timezone such as 2020-11-08 00:04:05 +0900 JST before the middle of the last month.   But it hasn't been running from the end of the last month. It converts as 2020-11-07 15:04:05 +0000 +0000.

I've tried to use some images in a code, and gotten following results. It seems to be on the alpine, tzdata later 2020c-r0 and go 1.12.

go version docker image tzdata result note
1.12 alpine 3.12.1 tzdata 2020c-r0 failure Please look the versions at dockerhub and alpine package
1.12 alpine 3.10.3 tzdata 2020c-r0 failure
1.12 alpine edge tzdata 2020d-r0 failure
1.12 alpine 3.8 tzdata 2020a-r0 success
1.12 ubuntu 20.04 tzdata 2020d-0ubuntu0.20.04 success Please look the versions at dockerhub and Ubuntu packages
1.15.4(golang:alpine image) alpha 3.12.1 tzdata 2020c-r0 success Please look the golang version at [golang dockerhub]
1.13 alpine 3.12.1 tzdata 2020c-r0 success

I'm glad if I can use the latest alpine and go 1.12 with correct timezone conversion.

(I can avoid it if I use golang over 1.13, or use tzdata2020a-r0 (getting from 2020a-r0 as the Dockerfile.)

Edited Nov 09, 2020 by developer-kikikaikai
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
triage:upstream-issue type:support
Assign labels
  • View project labels
Reference: alpine/aports#12090