Commit Graph

5 Commits

Author SHA1 Message Date
4270c51a98 New. Like mktime(3), but assumes the input time is UTC.
* e-time-utils.c (e_mktime_utc): New. Like mktime(3), but assumes
	the input time is UTC.
	(e_localtime_with_offset): New. Like localtime_r(3), but also
	returns an offset from UTC.

svn path=/trunk/; revision=17971
2002-09-04 19:13:14 +00:00
55eb097681 Generalized function for trying a number of strptime() formats on a
2001-07-16  Federico Mena Quintero  <federico@ximian.com>

	* e-time-utils.c (parse_with_strptime): Generalized function for
	trying a number of strptime() formats on a string.
	(e_time_parse_time): Use parse_with_strptime().
	(e_time_parse_date): New function, analogous to the previous one,
	but uses a number of date formats.

svn path=/trunk/; revision=11138
2001-07-16 21:26:12 +00:00
f66390af64 Here goes my additional simple include fixes.
svn path=/trunk/; revision=9191
2001-04-05 00:39:19 +00:00
79b4221f89 added function to format just the time.
2001-03-18  Damon Chaplin  <damon@ximian.com>

	* e-time-utils.c (e_time_format_time): added function to format just
	the time.

svn path=/trunk/; revision=8822
2001-03-19 15:46:32 +00:00
0a60162f0b new files to contain functions to parse and format dates and times for
2001-03-04  Damon Chaplin  <damon@ximian.com>

	* e-time-utils.[hc]: new files to contain functions to parse and
	format dates and times for various calendar widgets.

svn path=/trunk/; revision=8546
2001-03-04 23:52:39 +00:00