mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 22:15:20 +02:00
Allow users to set preferred locale in settings and provide basic date and time localization support (#1226)
* Add basic date and time localization * Normalize translations * Localize transaction dates * Removed unsupported Rails locales
This commit is contained in:
parent
7fabca4679
commit
ab40289eb4
130 changed files with 25190 additions and 10 deletions
|
@ -9,7 +9,11 @@
|
|||
data: { action: "bulk-select#toggleGroupSelection" } %>
|
||||
<% end %>
|
||||
|
||||
<%= tag.span "#{date.strftime('%b %d, %Y')} · #{entries.size}" %>
|
||||
<p class="uppercase space-x-1.5">
|
||||
<%= tag.span I18n.l(date, format: :long) %>
|
||||
<span>·</span>
|
||||
<%= tag.span entries.size %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<%= totals_by_currency(collection: entries, money_method: :amount_money, negate: true) %>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
|
||||
<span class="text-sm text-gray-500">
|
||||
<%= entry.date.strftime("%A %d %B") %>
|
||||
<%= I18n.l(entry.date, format: :long) %>
|
||||
</span>
|
||||
</header>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue