[Mono-bugs] [Bug 456504] New: DateTime.Now does not return the right time on Linux

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 4 12:51:49 EST 2008


           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: mono-bugs at lists.ximian.com
        ReportedBy: equistango at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Take this code, for example:

using System;

public static class Test {
        public static void Main() {

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

>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

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.

More information about the mono-bugs mailing list