[Mono-bugs] [Bug 828258] New: changing the system time by commandline causes incorrect output in DateTime.Now
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jul 5 07:08:45 UTC 2013
https://bugzilla.novell.com/show_bug.cgi?id=828258
https://bugzilla.novell.com/show_bug.cgi?id=828258#c0
Summary: changing the system time by commandline causes
incorrect output in DateTime.Now
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: sayu.sekhar at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31
(KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
Current system date was 5 July 12:30 PM PDT.
I wrote a simple C# program which prints datetime.now every 2 seconds in an
infinite loop.
Changed the system datetime to 12Dec2012 12:30 PM PST.
The c# program correctly printed the date time as 12/12/2012 1:30:01 PM.
Stopped the c# program and executed it again . It printed 12/12/2012 12:30:01
PM.
Reproducible: Always
Steps to Reproduce:
1. Set system date time to 5 July 12:30 PM PDT.
2. execute a simple C# program which prints datetime.now every 2 seconds in an
infinite loop.
3. Change the system datetime to 12Dec2012 12:30 PM PST.
4. Check output of the program being run in step 2
Actual Results:
Prints 12/12/2012 1:30:01 PM.
Expected Results:
Should print 12/12/2012 12:30:01 PM.
ALso of I restart the program it executes correctly
--
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