lib/vclog/templates/history.ansi.rb in vclog-1.8.0 vs lib/vclog/templates/history.ansi.rb in vclog-1.8.1
- old
+ new
@@ -6,10 +6,15 @@
history.releases.sort.each do |release|
tag = release.tag
- out << "\n#{tag.name} / #{tag.date.strftime('%Y-%m-%d')}".ansi(:bold)
+ # TODO: support verbose option
+ #if verbose?
+ # out << "\n#{tag.name} / #{tag.date.strftime('%Y-%m-%d %H:%M')}".ansi(:bold)
+ #else
+ out << "\n#{tag.name} / #{tag.date.strftime('%Y-%m-%d')}".ansi(:bold)
+ #end
out << "\n#{tag.message.strip} (#{tag.author})"
if options.extra && !release.changes.empty?