mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Make gnc_g_date_time_new_from_unix_local() function known in header.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23184 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d1a2d70be9
commit
517a621d9a
@ -189,7 +189,7 @@ gnc_g_date_time_adjust_for_dst (GDateTime *gdt, GTimeZone *tz)
|
||||
return gdt;
|
||||
}
|
||||
|
||||
static GDateTime*
|
||||
GDateTime*
|
||||
gnc_g_date_time_new_from_unix_local (time64 time)
|
||||
{
|
||||
#ifndef G_OS_WIN32
|
||||
|
@ -234,6 +234,12 @@ time64 gnc_time_utc (time64 *tbuf);
|
||||
*/
|
||||
gdouble gnc_difftime (const time64 secs1, const time64 secs2);
|
||||
|
||||
/** Wrapper for g_date_time_new_from_unix_local() that takes special care on
|
||||
* windows to take the local timezone into account. On unix, it just calles the
|
||||
* g_date function. */
|
||||
GDateTime*
|
||||
gnc_g_date_time_new_from_unix_local (time64 time);
|
||||
|
||||
/** \brief free a struct tm* created with gnc_localtime() or gnc_gmtime()
|
||||
* \param time: The struct tm* to be freed.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user