Skip to content

Commit

Permalink
Merge pull request #124 from bobsan16/patch-1
Browse files Browse the repository at this point in the history
Fix typo in SDMXHeader-methods.R
  • Loading branch information
eblondel authored Mar 22, 2017
2 parents 0b516f3 + 891ceeb commit a9e63ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/SDMXHeader-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ SDMXHeader <- function(xmlObj, namespaces){
reportBegin <- ISOdate(as.integer(reportBegin),1,1)
reportFormat <- "%Y-%m-%d";
}else{
if(attr(regexpr("T", extracted),"match.length") != -1){
if(attr(regexpr("T", reportBegin),"match.length") != -1){
reportFormat <- "%Y-%m-%dT%H:%M:%S";
}else{
reportFormat <- "%Y-%m-%d %H:%M:%S";
Expand Down

0 comments on commit a9e63ba

Please sign in to comment.