question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

apk add tzdata to docker image and support TZ environment variable to set the timezone. alpine is pretty straightforward. you just add this to the start up before running the app

cp -f "/usr/share/zoneinfo/${TZ}" /etc/localtime && echo "${TZ}" > /etc/timezone.

I would suggest a script to run the cp and the npm startup and set the script as the entrypoint

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:32
  • Comments:20 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
louislamcommented, Oct 11, 2022

I recently added server side timezone along with the maintenance pull request. It is configurable in the Settings page.

LOUIS-AORUS-15P  006095

It is an example of convertion of utc to server timezone.

dayjs.utc(myDate).local().foarmt(<DATE FORMAT>)
4reactions
Dr0id1commented, Sep 21, 2022

Do we have an update on that ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

timezone-support - npm
Lightweight time zone support for your applications or other date libraries.. Latest version: 3.1.0, last published: 19 days ago.
Read more >
prantlf/timezone-support: Lightweight time zone ... - GitHub
Minimal interface for time zone lookup and conversions. Parsing, formatting and manipulating dates is usually the task for a higher-level date library.
Read more >
List of Supported Timezones - Manual - PHP
Here you'll find the complete list of timezones supported by PHP, ... Note: The latest version of the timezone database can be installed...
Read more >
Supported Time Zone Values - Trifacta Documentation
Time Zone Value Standard time (UTC) Daylight Saving time (UTC) Africa/Abidjan UTC+00:00 UTC+00:00 Africa/Accra UTC+00:00 UTC+00:00 Africa/Addis_Ababa UTC+03:00 UTC+03:00
Read more >
ActiveSupport::TimeZone - Rails API
The TimeZone class serves as a wrapper around TZInfo::Timezone instances. ... (This exists to support the use of this class with the composed_of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found