Skip to content

Commit 7777fc9

Browse files
author
maechler
committed
amend c88441 (wrong att.)
git-svn-id: https://svn.r-project.org/R/trunk@88442 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 9240241 commit 7777fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/base/R/datetime.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ as.list.POSIXlt <- function(x, ...)
15661566
`[[<-.POSIXlt` <- function(x, i, value)
15671567
{
15681568
cl <- oldClass(x)
1569-
class(x) <- unCfillPOSIXlt(x)
1569+
x <- unCfillPOSIXlt(x)
15701570

15711571
if(!missing(i) && is.character(i)) {
15721572
nms <- names(x$year)

0 commit comments

Comments
 (0)