This commit is contained in:
		
							parent
							
								
									f87d626925
								
							
						
					
					
						commit
						52478ec602
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -25,10 +25,13 @@ void WatchFacePages::Clock::DrawPage(bool partialRefresh)
 | 
			
		|||
  m_display.fillScreen(GxEPD_WHITE);
 | 
			
		||||
  DrawBatteryIcon();
 | 
			
		||||
 | 
			
		||||
	tmElements_t currentTime;
 | 
			
		||||
	m_features.rtc.Get(currentTime);
 | 
			
		||||
  // Get current time and offset by timezone
 | 
			
		||||
  tmElements_t currentTime;
 | 
			
		||||
  m_features.rtc.Get(currentTime);
 | 
			
		||||
  int tzOffset = m_features.storage.GetTzOffset();
 | 
			
		||||
  m_features.rtc.OffsetTime(currentTime, tzOffset);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	SevenSegment sevenSegment(30, 60, 6, 5, 5);
 | 
			
		||||
 | 
			
		||||
  if (currentTime.Hour < 10) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue