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
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2026-01-20 Dirk Eddelbuettel <edd@debian.org>

* inst/include/Rcpp/date_datetime/Datetime.h (format): Correct a
format string reflecting 'unsigned int' rather than 'int'

2026-01-12 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll micro version and date
Expand Down
7 changes: 3 additions & 4 deletions inst/include/Rcpp/date_datetime/Datetime.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
//

// Datetime.h: Rcpp R/C++ interface class library -- Datetime (POSIXct)
//
// Copyright (C) 2010 - 2016 Dirk Eddelbuettel and Romain Francois
// Copyright (C) 2010 - 2026 Dirk Eddelbuettel and Romain Francois
//
// This file is part of Rcpp.
//
Expand Down Expand Up @@ -80,7 +79,7 @@ namespace Rcpp {
if (res == 0) {
return std::string("");
} else {
res = ::snprintf(txtsec, 63, "%s.%06d", txtiso, m_us);
res = ::snprintf(txtsec, 63, "%s.%06u", txtiso, m_us);
if (res <= 0) {
return std::string("");
} else {
Expand Down