Skip to content

Commit

Permalink
timestamp formatting bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Jul 24, 2023
1 parent b259b7f commit c01fa28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quill/include/quill/Quill.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace quill
/** Version Info **/
constexpr uint32_t VersionMajor{2};
constexpr uint32_t VersionMinor{0};
constexpr uint32_t VersionPatch{2};
constexpr uint32_t VersionPatch{3};
constexpr uint32_t Version{VersionMajor * 10000 + VersionMinor * 100 + VersionPatch};

/** forward declarations **/
Expand Down
2 changes: 1 addition & 1 deletion quill/src/detail/backend/StringFromTime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ std::string const& StringFromTime::format_timestamp(time_t timestamp)
if (_time_zone == Timezone::LocalTime)
{
// Update the timestamp to point to the next hour, here we can just add 3600 as the _next_hour_timestamp was already rounded to point to sharp minutes before
_next_recalculation_timestamp = timestamp + 3600;
_next_recalculation_timestamp = next_hour_timestamp(timestamp);
}
else if (_time_zone == Timezone::GmtTime)
{
Expand Down

0 comments on commit c01fa28

Please sign in to comment.