Review Request 114321: Fix timezone saving in System Settings -> Date & Time

Thomas Lübking thomas.luebking at gmail.com
Fri Dec 6 00:22:01 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114321/#review45241
-----------------------------------------------------------



kcontrol/dateandtime/helper.cpp
<http://git.reviewboard.kde.org/r/114321/#comment32322>

    What's the problem about using zic?
    If zic is broken (distro related?) zic should be fixed, yesno?



kcontrol/dateandtime/helper.cpp
<http://git.reviewboard.kde.org/r/114321/#comment32323>

    assuming zic is not available and the fallback is required, this should maybe inspect the type of the present localtime (if) and link/copy the new timezone respectively?



kcontrol/dateandtime/helper.cpp
<http://git.reviewboard.kde.org/r/114321/#comment32321>

    this looks like it'll break compilation on solaris?



kcontrol/dateandtime/helper.cpp
<http://git.reviewboard.kde.org/r/114321/#comment32326>

    iff ASCII is wrong, this should be rather ::toLocal8Bit(), yesno?


- Thomas Lübking


On Dec. 5, 2013, 11:24 p.m., Lukáš Tinkl wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/114321/
> -----------------------------------------------------------
> 
> (Updated Dec. 5, 2013, 11:24 p.m.)
> 
> 
> Review request for kde-workspace.
> 
> 
> Bugs: 159171 and 323511
>     http://bugs.kde.org/show_bug.cgi?id=159171
>     http://bugs.kde.org/show_bug.cgi?id=323511
> 
> 
> Repository: kde-workspace
> 
> 
> Description
> -------
> 
> - fix saving/loading of timezones in kcmclock
> - do not mark the module as changed right after the new timezone gets loaded back
> 
> Besides the above mentioned bugs, it also fixes https://bugzilla.redhat.com/show_bug.cgi?id=990146
> 
> 
> Diffs
> -----
> 
>   kcontrol/dateandtime/dtime.cpp 518afe5 
>   kcontrol/dateandtime/helper.cpp 9168db3 
>   kcontrol/dateandtime/main.cpp 2fa0f3e 
> 
> Diff: http://git.reviewboard.kde.org/r/114321/diff/
> 
> 
> Testing
> -------
> 
> In the past, this would for some reason only work sporadically and make ktimezoned utterly confused; now it correctly sets a symlink (instead of copying the file over) from /etc/localtime to the respective file under /usr/share/zoneinfo (as described in "man tzset"). The symlink points to the right location after each save. Launching the module again, it shows the correct timezone, as previously saved. 
> 
> 
> Thanks,
> 
> Lukáš Tinkl
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20131206/5f20d29b/attachment.htm>


More information about the kde-core-devel mailing list