Skip to content

Commit

Permalink
Adjust format to not tickle change in R-devel (closes #1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Nov 25, 2024
1 parent 83e640b commit 7987db3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.6
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem

* inst/tinytest/test_date.R: Minor adjustment to datetime format test
following R Dev Day change for R bug 17350 (and issue #1347 here)

2024-11-25 Simon Guest <[email protected]>

* src/attributes.cpp: fix CPP source having to be writable
Expand Down
2 changes: 1 addition & 1 deletion inst/tinytest/test_date.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ expect_equal(Datetime_format(d,"%Y-%m-%d %H:%M:%S"),
format(d, "%Y-%m-%d %H:%M:%OS"),
info="Datetime.formating.default")
expect_equal(Datetime_format(d, "%Y/%m/%d %H:%M:%S"),
format(d, "%Y/%m/%d %H:%M:%OS"),
format(d, "%Y/%m/%d %H:%M:%OS6"),
info="Datetime.formating.given.format")
expect_equal(Datetime_ostream(d),
format(d, "%Y-%m-%d %H:%M:%OS"),
Expand Down

0 comments on commit 7987db3

Please sign in to comment.