srushti / goldberg

Goldberg is a lightweight CI server written in Ruby which worries about Bundler & RVM so that you don't have to.
Other
243 stars 29 forks source link

Timestamp #42

Closed professor closed 13 years ago

professor commented 13 years ago

Two simple changes.

a) timestamps will now show how long ago the build was -- personally, I find this easier to understand than the timestamp itself Sat, 2011/04/16 05:51AM UTC ( 1 day ago )

b) the calls to print out the timestamp have been refactored into one helper method. DRY

srushti commented 13 years ago

i've pulled your changes (i squashed the two commits). i changed your implementation to get rid of the haml_concats, and we are now using the fuzzy dates primarily & using the old timestamps in a tooltip. otherwise, there was too much stuff being displayed. we'll see how this works and move things around if we need to.

professor commented 13 years ago

Thanks, I like your changes.