boostorg / boostorg/chrono

timegm

Open
#42 4 comments 0 reactions 0 assignees View on GitHub
enhancement PR welcome
Dominant language
C++
Stars
20
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Why is there no something like `boost::chrono::*something*::timegm(std::tm *)`?
At the same time, chrono use `timegm` in `time_point_io.hpp`

If there are no objective reasons for this, I would like to write it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in time_point_io.hpp, where chrono already uses timegm, and trace the surrounding time conversion path and existing public APIs. Compare the requested std::tm-based interface with the module's platform assumptions, then define the API and tests needed for consistent UTC conversion before considering implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.