Use TimeWithZone#to_fs as to_s is deprecated
What does this MR do and why?
Similar to !125098 (merged), this replaces TimeWithZone#to_s(:medium)
to TimeWithZone#to_fs(:medium)
in app/views/profiles/keys/_key_details.html.haml
Smoke test failing with Exception at /-/profile/keys/20 DEPRECATION WARNING: TimeWithZone#to_s(:medium) is deprecated. Please use TimeWithZone#to_fs(:medium) instead.
How to set up and validate locally
QA_LOG_LEVEL=DEBUG QA_GITLAB_URL=http://192.168.4.31:3000 bundle exec rspec qa/specs/features/browser_ui/3_create/repository/ssh_key_support_spec.rb
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jay McCure