edited spanish translations
This commit is contained in:
parent
676d60be17
commit
656b626600
@ -6,7 +6,7 @@ output:
|
||||
in_header: favicon_header.html
|
||||
---
|
||||
|
||||
Actualizado: `r format(Sys.time(), format = "%A %I:%M %p", tz = "America/Chicago")`
|
||||
Actualizado: `r format(Sys.time(), format = "%d de %B de %Y", tz = "America/Chicago")`
|
||||
|
||||
Este sitio se actualiza cada día
|
||||
|
||||
|
@ -183,7 +183,8 @@ update_data <- function(){
|
||||
filter(as.Date(time, tz = "America/Chicago") == as.Date(end_time, tz = "America/Chicago")) %>%
|
||||
mutate(date = as.Date(time, tz = "America/Chicago")) %>%
|
||||
left_join(. , entities, by = join_by(entity_id)) %>%
|
||||
mutate(name = factor(name_es, levels = c("lavadora", "secadora")))) +
|
||||
mutate(name = factor(name_es, levels = c("lavadora", "secadora"))) %>%
|
||||
mutate(status = ifelse(status == "on", "encendida", "apagada"))) +
|
||||
geom_rect(aes(xmin = date - hours(8),
|
||||
xmax = date + hours(8),
|
||||
ymin = ymd_hms(paste("2023-01-01", strftime(time, format = "%H:%M:%S"))),
|
||||
@ -289,7 +290,7 @@ update_longterm_data <- function(){
|
||||
scale_fill_manual(values = colors$color[2], guide = NULL) +
|
||||
theme(axis.text.x = element_text(angle = 30, vjust = 0.5)) +
|
||||
labs(title = "Tendencias a largo plazo",
|
||||
subtitle = paste0("datos desde ",strftime(min(values$time), format = "%d de %B de %Y"), " hasta ", strftime(run_time, format = "%d de %B de %Y")),
|
||||
subtitle = paste0("datos desde el ",strftime(min(values$time), format = "%d de %B de %Y"), " hasta el ", strftime(run_time, format = "%d de %B de %Y")),
|
||||
x = "Día de la semana",
|
||||
y = "Tiempo",
|
||||
alpha = "Frecuencia")
|
||||
|
@ -6,7 +6,7 @@ output:
|
||||
in_header: favicon_header.html
|
||||
---
|
||||
|
||||
Actualizado: `r format(Sys.time(), format = "%A %I:%M %p", tz = "America/Chicago")`
|
||||
Actualizado: `r format(Sys.time(), format = "%A a las %H:%M", tz = "America/Chicago")`
|
||||
|
||||
Este sitio se actualiza cada `r update_interval` minutos
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user