I arrived at JFK on AA168 NRT-JFK by way of PVG. The flight arrived at 17:30, but the USCIS officer wished me a good morning and welcome home obviously knowing that I was on Shanghai time.
It was perhaps the most pleasant interaction ever at a US Immigration Checkpoint.