comparison src/util.h @ 8577:599d6ac9bbfe

[gaim-migrate @ 9326] a jabber tweak i forgot to commit a fix for logging times wrt daylight savings time re-fix html logging timestamp sizes, after the syslog merge a cosmetic change to the log window committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 04 Apr 2004 18:27:45 +0000
parents 16485e87b7bb
children 56360561af5e
comparison
equal deleted inserted replaced
8576:ddbcef747dc7 8577:599d6ac9bbfe
180 * 180 *
181 * @return A time_t. 181 * @return A time_t.
182 */ 182 */
183 time_t gaim_time_build(int year, int month, int day, int hour, 183 time_t gaim_time_build(int year, int month, int day, int hour,
184 int min, int sec); 184 int min, int sec);
185
186 /**
187 * Parses a timestamp in jabber or ISO8601 format and returns a time_t.
188 *
189 * @param timestamp The timestamp
190 * @param utc Assume UTC if no timezone specified
191 *
192 * @return A time_t.
193 */
194 time_t gaim_str_to_time(const char *timestamp, gboolean utc);
185 195
186 /*@}*/ 196 /*@}*/
187 197
188 198
189 /**************************************************************************/ 199 /**************************************************************************/