Bug 24057 - DateTime.Now android crash
Summary: DateTime.Now android crash
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 5.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2014-10-26 10:12 UTC by Roman
Modified: 2014-10-27 07:42 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Roman 2014-10-26 10:12:34 UTC
I use Xamarin Studio 5.5.2 for android development. I am from Russia. 
Moscow time changed at 26th of October from gmt+4 to gmt+3.
And now all apps for android which use "DateTime.Now" stop working.
Comment 1 Sadik Ali 2014-10-27 06:39:11 UTC
We have checked this issue and unable to reproduce it.

We tried following steps to reproduce it.
1.Create a Xamarin.Android Appliction.
2.Set Time zone to +4.00 .
3.Did code on button click event.
button.Text = string.Format("{0} clicks!", DateTime.Now.ToString());
4.Run the application.
5.Set Timezone to +3.00
6.Did following code on button click.
button.Text = string.Format("{0} clicks!", DateTime.Now.ToString());
7.Run the application.

We observed that application running successfully without any crash.

Could you please provide us Build output,IDE log(In Xs Help->Open Log Directory latest log ),Environment Info,So that we can able to reproduce at our end.

Let me know if I missed anything to reproduce at our end?

Screencast regarding same:
http://www.screencast.com/t/ZmslTbIhN

Environment Info:
=== Xamarin Studio ===

Version 5.5.2 (build 8)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Runtime:
	Mono 3.10.0 ((detached/633e444)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000020

=== Apple Developer Tools ===

Xcode 6.0.1 (6528)
Build 6A317

=== Xamarin.iOS ===

Version: 8.4.0.15 (Business Edition)
Hash: 08968c4
Branch: 
Build date: 2014-10-20 21:48:06-0400

=== Xamarin.Android ===

Version: 4.18.0 (Business Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.0   (API level 11)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.Mac ===

Version: 1.9.0.518 (Business Edition)

=== Build Information ===

Release ID: 505020008
Git revision: 8e7f48e6b9afaa3f6ef68443d452d69d121ce051
Build date: 2014-10-16 09:25:16-04
Xamarin addins: 069ddd29bb70a42238142eee9bac21a5e4b2f9f9

=== Operating System ===

Mac OS X 10.10.0
Darwin Jatin66s-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 2 Roman 2014-10-27 07:06:10 UTC
thanks

today on 27.10 all ok automaticaly
Comment 3 Roman 2014-10-27 07:42:22 UTC
ok