gleam-lang / gleam-lang/hexpm

`updated_at` and `created_at` are not UTC-based

Open
#2 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Gleam
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hi!

I'm using this package, and `updated_at` and `created_at` are correctly converted in `birl.Time`, but they are not turned into UTC. Is it on purpose? I find it always simpler to manipulate every timestamp in UTC in backend, and manage the timezones when user interaction is needed (sending a notification, displaying the time, etc.)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how updated_at and created_at are converted into birl.Time in the Hex API decoders. Review the existing discussion and package behavior to determine the intended timezone contract; done means the behavior is explicitly decided and verified.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.