mirror of
				https://github.com/Thor77/TeamspeakStats.git
				synced 2025-11-03 15:22:45 -05:00 
			
		
		
		
	Add datetimeformat flag/option to cmd/config section
This commit is contained in:
		
							parent
							
								
									799f622201
								
							
						
					
					
						commit
						08d282b6ca
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -33,6 +33,8 @@ optional arguments:
 | 
				
			||||||
  -nod, --noonlinedc    don't add connect until now to onlinetime
 | 
					  -nod, --noonlinedc    don't add connect until now to onlinetime
 | 
				
			||||||
  -t TEMPLATE, --template TEMPLATE
 | 
					  -t TEMPLATE, --template TEMPLATE
 | 
				
			||||||
                        path to custom template
 | 
					                        path to custom template
 | 
				
			||||||
 | 
					  -dtf DATETIMEFORMAT, --datetimeformat DATETIMEFORMAT
 | 
				
			||||||
 | 
					                        format of date/time-values (datetime.strftime)
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Configuration
 | 
					# Configuration
 | 
				
			||||||
| 
						 | 
					@ -46,6 +48,7 @@ optional arguments:
 | 
				
			||||||
| debug | debug mode |
 | 
					| debug | debug mode |
 | 
				
			||||||
| onlinedc | Add timedelta from last-connect until now to onlinetime for connected clients |
 | 
					| onlinedc | Add timedelta from last-connect until now to onlinetime for connected clients |
 | 
				
			||||||
| template | Path to a custom template file (relative from `tsstats/` or absolute) |
 | 
					| template | Path to a custom template file (relative from `tsstats/` or absolute) |
 | 
				
			||||||
 | 
					| datetimeformat | Format of date/time-values used for render-timestamp and last online (using [datetime.strftime](https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior)) |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Example
 | 
					## Example
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue