mirror of
				https://github.com/csehviktor/status-monitor.git
				synced 2025-08-08 18:06:14 +02:00 
			
		
		
		
	fix retard
This commit is contained in:
		@@ -44,7 +44,7 @@ impl TryFrom<&Row<'_>> for UptimeStorageModel {
 | 
			
		||||
    type Error = rusqlite::Error;
 | 
			
		||||
 | 
			
		||||
    fn try_from(row: &Row) -> Result<Self, Self::Error> {
 | 
			
		||||
        let first_seen = DateTime::parse_from_rfc3339(&row.get::<_, String>(2)?)
 | 
			
		||||
        let first_seen = DateTime::parse_from_rfc3339(&row.get::<_, String>(1)?)
 | 
			
		||||
            .map(|dt| dt.with_timezone(&Utc))
 | 
			
		||||
            .map_err(|e| {
 | 
			
		||||
                rusqlite::Error::FromSqlConversionFailure(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user