Ticket Change Details
Not logged in
Overview

Artifact ID: 98cf4cc0c79c5ee84a0b4d2fc95791ac11c05305
Ticket: be1285190bb9ef3ea2c2d7db41af5fb47d4d5c37
Diable using UTC time zone as default
User & Date: anonymous 2013-01-18 08:04:26
Changes

  1. Untracked field icomment:
    Or just always store in UTC and render in local time zone if required.
    
    Possible solution as cut & pasted from:
    https://bugzilla.mozilla.org/show_bug.cgi?id=182238#c3
    ---
    Note that it is trivial to display times in the users local time zone, without
    any per-user settings on the server. The web server sends a timestamp, and the
    browser display the date/time in local format.
    
    Here is how:
    
    Opened: <script type="text/javascript">
    <!--
    var time1 = new Date(the_time_as_miliseconds_since_epoch__inserted_by_server);
    Document.write(time1.toLocaleString());
    -->
    </script><noscript>2002-11-27 08:09 PDT</noscript>
    ---
    
  2. Untracked field login: "anonymous"
  3. Untracked field mimetype: "text/x-fossil-plain"