Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
H
haiyen-payment
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Giang Tran
  • haiyen-payment
  • Repository

Switch branch/tag
  • haiyen-payment
  • Dockerfile
Find file
BlameHistoryPermalink
  • tdgiang's avatar
    Fix container timezone: set TZ=Asia/Ho_Chi_Minh (was defaulting to UTC) · 4fc9bb04
    Alpine base image ships no timezone data, so Date/moment() inside the
    container fell back to UTC regardless of the host's real timezone -
    every displayed timestamp (transaction list "Thời gian" column, CSV
    export) and every signed timeStamp (epay merchantToken) was 7 hours
    behind actual Vietnam time. Installs tzdata and sets TZ in both the
    Dockerfile and docker-compose.yml (belt and suspenders - either alone
    would fix it, but the compose env var makes it visible without having
    to read the Dockerfile).
    
    Verified by building the actual image and running new Date()/moment()
    inside it: correctly shows GMT+0700 (Indochina Time) after the fix,
    was UTC before.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_017KPzWwuTEeX2vXGXvyGn4q
    tdgiang authored Sep 03, 2026
    4fc9bb04
Dockerfile 954 Bytes
EditWeb IDE
×

Replace Dockerfile

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.