Commit 237619bc authored by Franssen, Wietse's avatar Franssen, Wietse
Browse files

time thing

Merge branch 'master' of git.wageningenur.nl:frans004/WFRTools

Conflicts:
	R/WFRTools.R
parents b9d8eb70 0deed334
......@@ -122,6 +122,7 @@ r2ggplotDataStructure <-function(data, timestep = 1) {
ggplotje <-function(rdata,lon = NULL, lat = NULL) {
if (!is.na(rdata$Dates$start[1])) {
# title=paste0(rdata$Variable$longName, " [",rdata$Variable$units,"]\n(" ,rdata$Dates$start[1], ")")
title=paste0(rdata$Variable$longName, " [",rdata$Variable$units,"]\n(" ,as.character(format( as.Date(rdata$Dates$start[1]),format="%d %B %Y")), ")")
} else {
title=paste0(rdata$Variable$longName, " [",rdata$Variable$units,"]")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment