| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* 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-08-22 JP Rosevear <jpr@ximian.com>
* e-time-utils.c (e_time_parse_date): if the year was two digits,
add the current century
svn path=/trunk/; revision=17833
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date): added a 2nd format, with the
weekday and the date. We need this so we can try to parse DATE values
in the ECalendarTable.
svn path=/trunk/; revision=14457
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date): only use 1 format, so we are
consistent everywhere. If we support multiple formats we have to
support that in e_time_parse_date_and_time() which means an explosion
of different formats. I don't think the alternatives are that useful,
anyway.
(e_time_parse_date_and_time): parse everything in one go, to avoid
i18n problems. Also only use '%p' if the locale has am/pm strings.
(e_time_parse_time): Only use '%p' if locale has am/pm strings.
svn path=/trunk/; revision=12924
|
|
|
|
|
|
|
|
|
|
| |
2001-08-31 Federico Mena Quintero <federico@ximian.com>
* e-time-utils.c (e_time_parse_date_and_time): Added format for
"7 PM" and equivalents. Fixes bug #7456.
(e_time_parse_time): Likewise.
svn path=/trunk/; revision=12549
|
|
|
|
|
|
|
|
|
| |
2001-08-20 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date): added comments to help
translators a bit.
svn path=/trunk/; revision=12260
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-06-11 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date_and_time): skip any non-digits
while looking for dates and times. This should fix some translation
problems. Though there is still a problem with Japanese, where the
am/pm flag comes before the time so we will skip it incorrectly.
svn path=/trunk/; revision=10224
|
|
|
|
|
|
|
|
|
|
| |
2001-06-10 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date_and_time):
(e_time_parse_time): got rid of '%n' at end of each format string
for strptime. I don't know how I managed to put them in there.
svn path=/trunk/; revision=10177
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* e-corba-utils.h: Remove #include <glib.h>
* e-dialog-widgets.c: Shuffle some headers.
* e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h>
* e-gtk-utils.c: #include <gtk/gtksignal.h>
* e-gtk-utils.h: Replace #include <gtk/gtk.h>
* e-gui-utils.c: Replace #include <gnome.h>
* e-html-utils.c: Shuffle headers.
* e-iterator.c: Replace #include <gtk/gtk.h>
* e-iterator.h: Replace #include <gtk/gtk.h>
* e-list-iterator.c: Remove #include <gtk/gtk.h>
* e-list-iterator.h: Replace #include <gtk/gtk.h>
* e-list.c: Remove #include <gtk/gtk.h>
* e-list.h: Replace #include <gtk/gtk.h>
* e-memory.c: #include <string.h> and <stdlib.h>
* e-msgport.c: Move around some includes. s/%d/%ld/g in a printf()
call to fix a warning.
* e-pilot-map.c: #include <string.h>. Replace #include <gnome.h>
* e-pilot-util.c: Remove #include <gnome.h>
* e-sexp.c: Remove #include <glib.h>
* e-sexp.h: Replace #include <gtk/gtk.h>
* e-time-utils.c: #include <string.h>
* md5-utils.c: Shuffle headers.
* test-ename-western-gtk.c: Replace #include <gnome.h>
* test-ename-western.c: Same here.
svn path=/trunk/; revision=9016
|
|
|
|
|
|
|
|
|
| |
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-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
|