siwwy :3 #3
					 1 changed files with 1 additions and 1 deletions
				
			
		Update to work with API again
				commit
				
					
					
						24e7f56e25
					
				
			
		| 
						 | 
					@ -11,7 +11,7 @@ function degreesToCompassDirection($degrees) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$data = json_decode(file_get_contents($api_root.'/weather'));
 | 
					$data = json_decode(file_get_contents($api_root.'/weather'));
 | 
				
			||||||
$updated = gmdate('H:i Y-m-d', $data->updated);
 | 
					$updated = gmdate('H:i Y-m-d', $data->updated);
 | 
				
			||||||
$data = $data->data;
 | 
					$data = $data->current;
 | 
				
			||||||
@endphp
 | 
					@endphp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h1>Local Weather <small>(Last Update: {{ $updated }})</small></h1>
 | 
					<h1>Local Weather <small>(Last Update: {{ $updated }})</small></h1>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue