diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bab13e..c61ea03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index c800d4f..6682d57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/include/tempoch/time_base.hpp b/include/tempoch/time_base.hpp index 1d7bb36..8777ba2 100644 --- a/include/tempoch/time_base.hpp +++ b/include/tempoch/time_base.hpp @@ -480,7 +480,7 @@ template class EncodedTime { template inline std::ostream &operator<<(std::ostream &os, const EncodedTime &time) { - return os << time.value(); + return os << ScaleTraits::name() << ' ' << FormatTraits::name() << ' ' << time.raw(); } } // namespace tempoch