From 9595f434d0adb1c747d875873d2b574042470084 Mon Sep 17 00:00:00 2001 From: Giga Chubinidze Date: Sun, 5 Feb 2023 23:00:20 +0400 Subject: [PATCH] on/at convention fix --- app/serializers/step_serializer.rb | 2 +- config/locales/en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/serializers/step_serializer.rb b/app/serializers/step_serializer.rb index d1e9286c8..44c5d79a7 100644 --- a/app/serializers/step_serializer.rb +++ b/app/serializers/step_serializer.rb @@ -101,7 +101,7 @@ class StepSerializer < ActiveModel::Serializer urls_list end - def created_on + def created_at object.created_at.strftime('%B %d, %Y at %H:%M') end diff --git a/config/locales/en.yml b/config/locales/en.yml index cea7c2752..b695e8c4d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2814,7 +2814,7 @@ en: component_duplicated: "Step content duplicated successfully." step_duplication_failed: "Step could not be duplicated, try again later." component_duplication_failed: "Step content could not be duplicated, try again later." - timestamp: "Created on %{date} by %{user}" + timestamp: "Created at %{date} by %{user}" status: complete: "Mark as done" uncomplete: "Unmark as done"