https://bugzilla.novell.com/show_bug.cgi?id=456504
Summary: DateTime.Now does not return the right time on Linux
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Take this code, for example:
using System;
public static class Test {
public static void Main() {
System.Console.WriteLine(System.DateTime.Now.ToString());
}
}
The output on Linux:
$ date
jeu. déc. 4 14:19:50 ART 2008
$ mono test.exe
04/12/2008 15:19:53
On Windows:
>time /T
14:20
>mono test.exe
04/12/2008 02:20:56 p.m.
Is Mono maintaining it's own timezones table? If that's the case, it's
outdated, because Argentina has historically had only one time, but since a few
months, we have one hour offset between east and west during daytime savings.
Perhaps Mono is reporting Buenos Aires' time (GMT-2). I'm on Ushuaia's time
(GMT-3).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs