amber icon indicating copy to clipboard operation
amber copied to clipboard

Log time is UTC, not local

Open MatheusRich opened this issue 6 years ago • 1 comments

Description

When I run the server, the displayed time in logs doesn't match my local time. This is kinda annoying, and may led users to confusion.

Steps to Reproduce

  1. Just run amber watch

Expected behavior: The time in the logs should match the local time.

Actual behavior: The times is always UTC

Reproduces how often: Always.

Versions

Crystal Crystal 0.31.1 [0e2e1d067] (2019-09-30)

LLVM: 8.0.0 Default target: x86_64-unknown-linux-gnu

Amber Amber CLI (amberframework.org) - v0.30.1

OS Operating System: Linux Mint 18.3 Kernel: Linux 4.15.0-64-generic Architecture: x86-64

Additional Information

If needed, I can make a PR addressing this.

MatheusRich avatar Oct 11 '19 04:10 MatheusRich

Feel free to make a PR @MatheusRich, thanks for raising this issue

eliasjpr avatar Oct 20 '19 22:10 eliasjpr

This task has been completed. Please close the ticket.

codered avatar Nov 29 '23 15:11 codered