Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.2] - 2026-06-02

### Changed

- Fix EncodedTime print.

## [0.5.1] - 2026-06-01

### Changed
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.15)
project(tempoch_cpp VERSION 0.5.1 LANGUAGES CXX)
project(tempoch_cpp VERSION 0.5.2 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down
2 changes: 1 addition & 1 deletion include/tempoch/time_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ template <typename S, typename F> class EncodedTime {

template <typename S, typename F>
inline std::ostream &operator<<(std::ostream &os, const EncodedTime<S, F> &time) {
return os << time.value();
return os << ScaleTraits<S>::name() << ' ' << FormatTraits<F>::name() << ' ' << time.raw();
}

} // namespace tempoch
Loading