mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	various code cleanups (bug #4353)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -119,7 +119,7 @@ static void dump_datetime(char *output, int maxlen, void *value, int len) | ||||
| 		tm.tm_mday = (val >> 16) & 0x1f; | ||||
| 		tm.tm_mon  = ((val >> 21) & 0x0f) - 1; | ||||
| 		tm.tm_year = ((val >> 25) & 0x7f) + 100; | ||||
| 		strftime(output, maxlen, "%F  %T", &tm);  | ||||
| 		strftime(output, maxlen, "%Y-%m-%d  %T", &tm);  | ||||
| 	} else | ||||
| 		ast_copy_string(output, "Invalid DATETIME format!", maxlen); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user