Re: [PATCH] error-report: Fix GDateTime usage

2022-04-26 Thread Marc-André Lureau
Hi On Tue, Apr 26, 2022 at 12:43 AM Eric Farman wrote: > According to the glib manual: > > - g_date_time_new_from_unix_utc() takes a parameter of the number of >SECONDS since the unix epoch > - g_get_real_time() returns the number of MICROSECONDS since the >unix epoch > > Rather than

[PATCH] error-report: Fix GDateTime usage

2022-04-25 Thread Eric Farman
According to the glib manual: - g_date_time_new_from_unix_utc() takes a parameter of the number of SECONDS since the unix epoch - g_get_real_time() returns the number of MICROSECONDS since the unix epoch Rather than convert the latter with G_USECS_PER_SEC, use the convenient