i go through video of turorial from main page rubyonrails.org, i write in console ./bin/importmap pin local-time in importmap.rb appear:
pin "local-time", to: "https://ga.jspm.io/npm:local-time@2.1.0/app/assets/javascripts/local-time.js"
but when i try use it in time tag in post.html.erb:
Posted: <%= time_tag post.created_at, "data-local": "time-ago" %>
appear "Posted: September 09, 2022 10:19" but not "5 minutes ago" or something like this. Basically in projects very simple i just add scaffold post, text rich, here link for it https://github.com/kukla1989/rubyonrails (i will delete it after problem will solve). Sorry if something wrong, i only begin learn rails
i checked 10 times everething like in tutorial, also seems there are no similar problems