Instead of defining Date and/or time formats using POSIX standard abbreviations, we can let the lubridate package do some guesswork for us, which works well most of the time.
Note that timezone defaults to UTC (Coordinated Universal Time) and must be set manually. PST is defined with “America/Los_Angeles” or the (officially deprecated) “US/Pacific” (tz database)
dt2 got misinterpreted as year-month-day.
For these cases, lubridate includes a number of convenient functions to narrow down the guessing. The functions are named using all permutations of y, m, and d. The letter order signifies the order the information appears in the character you are trying to import, i.e. ymd, dmy, mdy, ydm, myd