diff -r 7174e23f7617 -r 5960c7da87ef maemo-ui/src/mmyth_epg_grid_view.c --- a/maemo-ui/src/mmyth_epg_grid_view.c Thu Sep 28 16:02:14 2006 +0100 +++ b/maemo-ui/src/mmyth_epg_grid_view.c Mon May 14 21:55:32 2007 +0100 @@ -78,8 +78,8 @@ // Convert it to local time representation. /* FIXME: conversion from time to localtime is different in different machines */ - long int schedule_start_time = proginfo->startts; - long int schedule_end_time = proginfo->endts; + long int schedule_start_time = proginfo->startts->tv_sec; + long int schedule_end_time = proginfo->endts->tv_sec; if (localtime_r(&schedule_start_time, &loctime_start) == NULL) { g_warning ("localtime_r error in mmyth_epg_grid_view!\n");