I have a simple ts object which contains daily values (frequency = 365). When I import it into tsibble via as_tsibble I do not get exactly daily data. I get timestamps that are closed to daily but have a small offset.
Here is a simple reprex showing the issue: as you can see the timestamps have slight 9 seconds offset.
Any workaround for this?
library(tsibble); as_tsibble(ts(1:3, frequency = 365, start = 2010))
#> # A tsibble: 3 x 2 [1s]
#> index value
#> 1 2010-01-01 00:00:00 1
#> 2 2010-01-02 00:00:09 2
#> 3 2010-01-02 23:59:46 3