[yast-commit] r67162 - in /trunk/country: VERSION package/yast2-country.changes timezone/src/dialogs.ycp
Author: jsuchome Date: Thu Jan 12 15:28:37 2012 New Revision: 67162 URL: http://svn.opensuse.org/viewcvs/yast?rev=67162&view=rev Log: - expanded texts about UTC/localtime to convice user for using UTC (bnc#732769) - 2.22.4 Modified: trunk/country/VERSION trunk/country/package/yast2-country.changes trunk/country/timezone/src/dialogs.ycp Modified: trunk/country/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=67162&r1=67161&r2=67162&view=diff ============================================================================== --- trunk/country/VERSION (original) +++ trunk/country/VERSION Thu Jan 12 15:28:37 2012 @@ -1 +1 @@ -2.22.3 +2.22.4 Modified: trunk/country/package/yast2-country.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=67162&r1=67161&r2=67162&view=diff ============================================================================== --- trunk/country/package/yast2-country.changes (original) +++ trunk/country/package/yast2-country.changes Thu Jan 12 15:28:37 2012 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Jan 12 15:22:08 CET 2012 - jsuchome@suse.cz + +- expanded texts about UTC/localtime to convice user for using UTC + (bnc#732769) +- 2.22.4 + +------------------------------------------------------------------- Thu Jan 12 09:35:32 CET 2012 - jsuchome@suse.cz - Confirmed license Modified: trunk/country/timezone/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/dialogs.ycp?rev=67162&r1=67161&r2=67162&view=diff ============================================================================== --- trunk/country/timezone/src/dialogs.ycp (original) +++ trunk/country/timezone/src/dialogs.ycp Thu Jan 12 15:28:37 2012 @@ -733,6 +733,15 @@ to daylight saving time and back automatically. </p> "); + + // help text: extra note about localtim + help_text = help_text + _("<p> +Note: The internal system clock as used by the Linux kernel must +always be in UTC, because this is the reference for the correct localtime +in user space. If you are choosing localtime for CMOS clock, +check the user manual for background information about side effects. +</p>"); + } @@ -845,6 +854,26 @@ { hwclock_s = ((boolean)UI::QueryWidget( `id(`hwclock), `Value))? `hwclock_utc : `hwclock_localtime; + + if (ret == `next && !Timezone::windows_partition && hwclock_s == `hwclock_localtime) + { + // warning popup, in case local time is selected (bnc#732769) + if (!Popup::ContinueCancel (_(" +You selected local time, but only Linux seems to be installed on your system. +In such case, it is strongly recommended to use UTC, and to click Cancel. + +If you want to keep local time, you must adjust the CMOS clock twice the year +because of Day Light Saving switches. If you miss to adjust the clock, backups may fail, +your mail system may drop mail messages, etc. + +If you use UTC, the Linux will adjust the time automatically. + +Do you want to continue with your selection (local time)?"))) + { + ret = `not_next; + continue; + } + } } if (ret == `timezonemap) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn2.opensuse.org