Skip to content

Commit d0aa506

Browse files
author
Adrien Kunysz
committed
Remove unused "date" date format.
All usages have been replaced with "posted" in a previous commit. linuxfr.org$ ack -l ':date\b' | grep -v svg$ app/controllers/admin/accounts_controller.rb app/models/account.rb app/models/board.rb db/migrate/20230506121910_add_last_seen_on_to_accounts.rb None of the references to ":date" in those three files refer to the custom "date" date format.
1 parent 94c365e commit d0aa506

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

config/initializers/time_formats.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# encoding: UTF-8
22
date_formats = {
3-
date: '%d/%m/%y',
43
posted: ->(t) {I18n.l(t, format: :posted)},
54
norloge: '%H:%M:%S',
65
norloge2: '%Y-%m-%d %H:%M:%S',

0 commit comments

Comments
 (0)