| 
					
				 | 
			
			
				@@ -85,7 +85,8 @@ bool IsDst(int DayOfWeek, int Day, int Month, int Hour_24) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // April through October are always in DST
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (Month > 3 && Month < 11) return true;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    int prevSunday = Day - DayOfWeek;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // Compute the last sunday, given that DoW enum starts at 1
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    int prevSunday = Day - DayOfWeek + 1;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // In March, in DST if previous sunday is between 8th and 14th
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (Month == 3) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (prevSunday < 8) return false;
 
			 |