diff src/util.c @ 13033:69b3d5cbd2b1

[gaim-migrate @ 15389] Kill gaim_date() and gaim_date_full(). The former isn't used and the latter is used only twice. This makes the buddy pounce pop-ups and debug log headers contain localized dates, fixing part of SF Bug #1325915. Thanks to Bleeter for discovering that gaim_date() isn't used. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 25 Jan 2006 02:58:54 +0000
parents 248b8b39c671
children b553326bc468
line wrap: on
line diff
--- a/src/util.c	Tue Jan 24 06:08:39 2006 +0000
+++ b/src/util.c	Wed Jan 25 02:58:54 2006 +0000
@@ -475,30 +475,6 @@
 /**************************************************************************
  * Date/Time Functions
  **************************************************************************/
-const char *
-gaim_date(void)
-{
-	static char date[80];
-	time_t tme;
-
-	time(&tme);
-	strftime(date, sizeof(date), "%H:%M:%S", localtime(&tme));
-
-	return date;
-}
-
-const char *
-gaim_date_full(void)
-{
-	char *date;
-	time_t tme;
-
-	time(&tme);
-	date = ctime(&tme);
-	date[strlen(date) - 1] = '\0';
-
-	return date;
-}
 
 time_t
 gaim_time_build(int year, int month, int day, int hour, int min, int sec)