Mercurial > pidgin
comparison src/util.h @ 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 |
comparison
equal
deleted
inserted
replaced
| 13032:4016a35bdd4d | 13033:69b3d5cbd2b1 |
|---|---|
| 197 | 197 |
| 198 /**************************************************************************/ | 198 /**************************************************************************/ |
| 199 /** @name Date/Time Functions */ | 199 /** @name Date/Time Functions */ |
| 200 /**************************************************************************/ | 200 /**************************************************************************/ |
| 201 /*@{*/ | 201 /*@{*/ |
| 202 | |
| 203 /** | |
| 204 * Returns the current local time in hour:minute:second form. | |
| 205 * | |
| 206 * The returned string is stored in a static buffer, so the result | |
| 207 * should be g_strdup()'d if it's intended to be used for long. | |
| 208 * | |
| 209 * @return The current local time. | |
| 210 * | |
| 211 * @see gaim_date_full() | |
| 212 */ | |
| 213 const char *gaim_date(void); | |
| 214 | |
| 215 /** | |
| 216 * Returns the date and time in human-readable form. | |
| 217 * | |
| 218 * The returned string is stored in a static buffer, so the result | |
| 219 * should be g_strdup()'d if it's intended to be used for long. | |
| 220 * | |
| 221 * @return The date and time in human-readable form. | |
| 222 * | |
| 223 * @see gaim_date() | |
| 224 */ | |
| 225 const char *gaim_date_full(void); | |
| 226 | 202 |
| 227 /** | 203 /** |
| 228 * Builds a time_t from the supplied information. | 204 * Builds a time_t from the supplied information. |
| 229 * | 205 * |
| 230 * @param year The year. | 206 * @param year The year. |
