mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	app: Truncate the user creation date to the day
This commit is contained in:
		
							parent
							
								
									2db7fb059d
								
							
						
					
					
						commit
						c799f35142
					
				@ -185,7 +185,7 @@ impl Component for UserDetailsForm {
 | 
			
		||||
              {"Creation date: "}
 | 
			
		||||
              </label>
 | 
			
		||||
              <div class="col-sm-10">
 | 
			
		||||
                <span id="creationDate" class="form-constrol-static">{&self.props.user.creation_date.with_timezone(&chrono::Local)}</span>
 | 
			
		||||
                <span id="creationDate" class="form-constrol-static">{&self.props.user.creation_date.date().naive_local()}</span>
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="form-group row">
 | 
			
		||||
 | 
			
		||||
@ -146,7 +146,7 @@ impl UserTable {
 | 
			
		||||
              <td>{&user.display_name}</td>
 | 
			
		||||
              <td>{&user.first_name}</td>
 | 
			
		||||
              <td>{&user.last_name}</td>
 | 
			
		||||
              <td>{&user.creation_date.with_timezone(&chrono::Local)}</td>
 | 
			
		||||
              <td>{&user.creation_date.date().naive_local()}</td>
 | 
			
		||||
              <td>
 | 
			
		||||
                <DeleteUser
 | 
			
		||||
                  username=user.id.clone()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user