* cosmetics
This commit is contained in:
@ -242,4 +242,3 @@ mu_cmd_cfind (MuConfig *opts, GError **err)
|
|||||||
return run_cmd_cfind (opts->params[1], opts->format, opts->color,
|
return run_cmd_cfind (opts->params[1], opts->format, opts->color,
|
||||||
err);
|
err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright (C) 2011 <djcb@djcbsoftware.nl>
|
** Copyright (C) 2012 <djcb@djcbsoftware.nl>
|
||||||
**
|
**
|
||||||
** This program is free software; you can redistribute it and/or modify it
|
** This program is free software; you can redistribute it and/or modify it
|
||||||
** under the terms of the GNU General Public License as published by the
|
** under the terms of the GNU General Public License as published by the
|
||||||
@ -219,7 +219,7 @@ mu_date_str_to_time_t (const char* date, gboolean local)
|
|||||||
tm.tm_year = atoi (mydate) - 1900;
|
tm.tm_year = atoi (mydate) - 1900;
|
||||||
tm.tm_isdst = -1; /* figure out the dst */
|
tm.tm_isdst = -1; /* figure out the dst */
|
||||||
|
|
||||||
if (!local) { /* temporalily switch to UTC */
|
if (!local) { /* temporarily switch to UTC */
|
||||||
tz = getenv ("TZ");
|
tz = getenv ("TZ");
|
||||||
setenv ("TZ", "", 1);
|
setenv ("TZ", "", 1);
|
||||||
tzset ();
|
tzset ();
|
||||||
@ -262,4 +262,3 @@ mu_date_time_t_to_str (time_t t, gboolean local)
|
|||||||
|
|
||||||
return str ? g_strdup(str): NULL;
|
return str ? g_strdup(str): NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user