Author: jreidinger Date: Tue Jun 23 16:13:57 2009 New Revision: 57707 URL: http://svn.opensuse.org/viewcvs/yast?rev=57707&view=rev Log: fix YaPI Modified: trunk/country/timezone/src/YaPI/TIME.pm Modified: trunk/country/timezone/src/YaPI/TIME.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/YaPI/TIME.pm?rev=57707&r1=57706&r2=57707&view=diff ============================================================================== --- trunk/country/timezone/src/YaPI/TIME.pm (original) +++ trunk/country/timezone/src/YaPI/TIME.pm Tue Jun 23 16:13:57 2009 @@ -45,9 +45,9 @@ } BEGIN{$TYPEINFO{Write} = ["function", - ["boolean"],["map","string","string"]]; + "boolean",["map","string","string"]]; } -sub Read { +sub Write { my $self = shift; my $args = shift; Timezone->Read(); @@ -55,9 +55,9 @@ if (Timezone->utc_only()){ #do nothink as utc cannot be change } elsif ($args->{"utcstatus"} eq "UTC") { - Timezone->hwclock = "-u"; + Timezone->hwclock = ("-u"); } else { - Timezone->hwclock = "--localtime"; + Timezone->hwclock("--localtime"); } } if (defined $args->{"timezone"}){ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org