Shift date an hour when in dst
问题 I am processing a file line by line. Each line has a date in the following format: YYMMDD HHMM The file is basically recording a reading every 15 minutes. The recording is using day light savings for the time zone it is in. The issue I am having is during spring ahead and fall back. The recording is duplicating dates when fall back occurs and a gap when fall back occurs. Fallback example: 141102 0100 141102 0115 141102 0130 141102 0145 141102 0200 141102 0115 - duplicate 141102 0130 -