mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:35:33 +00:00
2005-02-01 Fredrik Nilsson <jymdman@home.se>
* glib/Marshaller.cs : DateTime marshaling fix. svn path=/trunk/gtk-sharp/; revision=39952
This commit is contained in:
parent
6d888d8689
commit
a8f16beaa7
|
@ -1,3 +1,7 @@
|
|||
2005-02-01 Fredrik Nilsson <jymdman@home.se>
|
||||
|
||||
* glib/Marshaller.cs : DateTime marshaling fix.
|
||||
|
||||
2005-01-31 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* gtk/FileChooserDialog.custom : move backend to first param to
|
||||
|
|
|
@ -171,7 +171,7 @@ namespace GLib {
|
|||
}
|
||||
|
||||
static DateTime local_epoch = new DateTime (1970, 1, 1, 0, 0, 0);
|
||||
static int utc_offset = (int) (DateTime.Now.Subtract (DateTime.UtcNow).TotalSeconds);
|
||||
static int utc_offset = (int) (TimeZone.CurrentTimeZone.GetUtcOffset (DateTime.Now)).TotalSeconds;
|
||||
|
||||
public static IntPtr DateTimeTotime_t (DateTime time)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue