ZeusWPI / Gandalf

You Shall Not Pass - An advanced e-ticket system for student clubs -
http://event.fkgent.be
MIT License
10 stars 7 forks source link

Add registration time column to registrations table #692

Closed msathieu closed 3 months ago

msathieu commented 1 year ago

Closes #652

TomNaessens commented 1 year ago

Nice! One possible improvement: the timestamp is a bit technical for users with the UTC information (see screenshot below). We can specify how the result of the column should look by passing a block to the column method:

  column(:created_at) do |registration|
    registration.created_at.to_formatted_s(:long)
  end
image