From 4851b5a35f7dfc69dead712ffa5a96289d05d5a0 Mon Sep 17 00:00:00 2001 From: anvier1 <38831418+anvier1@users.noreply.github.com> Date: Wed, 24 Aug 2022 10:06:34 +0200 Subject: [PATCH] Update CREATION-DATE in write.px.R Fix date format. Currently there is an error since in the minutes lot appears the month. --- R/write.px.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/write.px.R b/R/write.px.R index e81e344..4bd1a07 100644 --- a/R/write.px.R +++ b/R/write.px.R @@ -71,7 +71,7 @@ write.px <- function ( obj.px, filename, heading = NULL, stub = NULL, # CREATION-DATE: if ( is.null(obj.px$'CREATION-DATE') | is.null(obj.px$'CREATION.DATE') ) { - obj.px$'CREATION-DATE'$value <- format(Sys.time(),'%Y%m%d %H:%m') + obj.px$'CREATION-DATE'$value <- format(Sys.time(),'%Y%m%d %H:%M') }