Date in dygraph (using R and xts) shows one day earlier than data
问题 This is my first stackoverflow question, so apologies in advance for any lapses in etiquette or presentation. I am using the dygraphs() package in R (3.3.3 on a Mac running Mavericks, using RStudio) to graph a time series of box-office receipts from an 18th-century theater. The dates run from 1789-04-14 to 1791-03-07. I'm using the newest version of the xts package (0.10-0), but the problem was identical in the previous version. As an xts object the data looks like this: head(receipts.xts) kr