Changeset 55

Show
Ignore:
Timestamp:
11/27/07 12:41:11 (12 months ago)
Author:
jweiss
Message:

Make views use the local time zone

Location:
trunk/app/views
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/deployments/_status.rhtml

    r42 r55  
    2626        </p> 
    2727        <p> 
    28           <b>Started (UTC):</b> 
     28          <b>Started:</b> 
    2929          <%=h @deployment.created_at.to_s(:log) %> 
    3030        </p> 
    3131  <p> 
    32           <b>Completed (UTC):</b> 
     32          <b>Completed:</b> 
    3333          <%=h @deployment.completed_at.to_s(:log) rescue nil %> 
    3434        </p> 
  • trunk/app/views/deployments/index.rhtml

    r42 r55  
    1515    <tr> 
    1616      <th>Task</th> 
    17       <th>Started (UTC)<br />Completed (UTC)</th> 
     17      <th>Started<br />Completed</th> 
    1818      <th style="width:200px;">Comment</th> 
    1919      <th>User</th> 
  • trunk/app/views/notification/deployment.rhtml

    r42 r55  
    55Status: <%= @deployment.status %> 
    66 
    7 Started (UTC): <%= @deployment.created_at.to_s(:log) %> 
     7Started (UTC): <%= @deployment.created_at.utc.to_s(:log) %> 
    88 
    9 Completed (UTC): <%= @deployment.completed_at.to_s(:log) rescue nil %> 
     9Completed (UTC): <%= @deployment.completed_at.utc.to_s(:log) rescue nil %> 
    1010 
    1111 
  • trunk/app/views/projects/dashboard.rhtml

    r43 r55  
    1212        <th>Project/Stage</th> 
    1313        <th>Task</th> 
    14         <th>Started (UTC)<br />Completed (UTC)<br /></th> 
     14        <th>Started<br />Completed<br /></th> 
    1515        <th style="width:200px;">Comment</th> 
    1616        <th>User</th> 
  • trunk/app/views/stages/_deployments.rhtml

    r42 r55  
    77    <tr> 
    88      <th width="1%">Task</th> 
    9       <th width="1%">Started (UTC)<br />Completed (UTC)</th> 
     9      <th width="1%">Started<br />Completed</th> 
    1010      <th width="96%">Comment</th> 
    1111      <th width="1%">User</th> 
  • trunk/app/views/users/_deployments.rhtml

    r42 r55  
    88      <th>Project/Stage</th> 
    99      <th>Task</th> 
    10       <th>Started (UTC)<br />Completed (UTC)<br /></th> 
     10      <th>Started<br />Completed<br /></th> 
    1111      <th style="width:200px;">Comment</th> 
    1212      <th>Status</th>