Thanks for the replies. Makes sense I think... but here's a concrete example of the sort of thing I have in my code:
starttime=force_tz(ymd_hms("2019-08-01T12:00:00"),"US/Mountain")
endtime=force_tz(ymd_hms("2019-08-31T00:00:00"),"US/Mountain")
plotsubset <- df %>% filter(t_stamp %within% interval(starttime,endtime))
ggplot(plotsubset) + geom_line(aes(x=t_stamp,y=temperature))
And then I have a bunch of repeats of this sort of code with varying start/end times to plot different quantities at different times. So I have the string "US/Mountain" all over the place along with "force_tz" etc. I guess one way of doing that all at once is to put all of my start/end times into a data structure and apply the time zone all at once... Or maybe just something more like:
startraw="2019-08-01T12:00:00"
endraw="2019-08-31T00:00:00"
starttime=force_tz(ymd_hms(startraw),"US/Mountain")
endtime=force_tz(ymd_hms(endraw),"US/Mountain")
And then I can just copy and paste these blocks and separate the local times out onto separate lines. I guess this is really a pretty trivial thing, but it seems like there is clunkiness here. Maybe that's just the way it is with dates and times...