skardhamar / rga

R Google Analytics
187 stars 90 forks source link

The use of timezone-aware as.POSIX() when defining the start date for… #81

Closed EricGoldsmith closed 8 years ago

EricGoldsmith commented 8 years ago

… "walk = TRUE" could cause inaccurate dates when local timezones were not GMT. Changed to timezone-unaware as.Date()

Added as.Date() wrappers to calculation of number of days to ensure accuracy.