You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/03/07 01:33:24 UTC
[whimsy.git] [1/1] Commit d096b76: force gmtime
Commit d096b76374dd1003c9170a048515098fa8785d62:
force gmtime
and force a space before the time field
Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>
------------------------------------------------------------
www/roster/views/actions/committee.json.rb | ++ -
------------------------------------------------------------
3 changes: 2 additions, 1 deletions.
------------------------------------------------------------
diff --git a/www/roster/views/actions/committee.json.rb b/www/roster/views/actions/committee.json.rb
index e6617e3..40fb413 100644
--- a/www/roster/views/actions/committee.json.rb
+++ b/www/roster/views/actions/committee.json.rb
@@ -38,7 +38,8 @@
if @action == 'add'
unless lines.any? {|line| line.include? "<#{...@apache.org>"}
name = "#{person.public_name.ljust(26)} <#{...@apache.org>"
- lines << " #{name.ljust(60)}[#{Time.new.strftime('%Y-%m-%d')}]"
+ time = Time.new.gmtime.strftime('%Y-%m-%d')
+ lines << " #{name.ljust(59)} [#{time}]"
end
else
lines.reject! {|line| line.include? "<#{...@apache.org>"}