Anonymous committed 808af49

0.12.1dev: Fixed the display of the sample time in the default timezone on the "Date & Time" preference panel, as it was showing the local time instead.

Comments (0)

Files changed (1)


                                 selected_tz = timezone(session_tzname) or utc">
       <label>Time zone:
       <select name="tz">
-        <option>Default time zone</option>
+        <option value="">Default time zone</option>
         <option py:for="tzname in timezones" value="$tzname"
                 selected="${session_tzname != None and
                             session_tzname.startswith('Etc/') and
         <py:when test="session_tzname">
           <i18n:msg params="tz, formatted">
             In your time zone ${selected_tz.tzname(}, this would be displayed as
-            <strong>${format_time(now, 'iso8601', tzinfo=selected_tz)}</strong>.
+            <strong>${format_time(now, 'iso8601',}</strong>.
           <i18n:msg params="formatted">
             In the default time zone, this would be displayed as
-            <strong>${format_time(now, 'iso8601', tzinfo=localtz)}</strong>.
+            <strong>${format_time(now, 'iso8601',}</strong>.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.