Skip to content

Commit

Permalink
fix browse not working in local french
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Nov 23, 2023
1 parent 783caed commit b2bc013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
bundler-cache: true

- name: Run OntoPortal API
run: bin/run_api -k ${{ env.REMOTE_API_KEY }} -r agroportal -t stage -s STY -u ${{ env.REMOTE_API_URL }}
run: bin/run_api -k ${{ env.REMOTE_API_KEY }} -r agroportal -t development -s STY -u ${{ env.REMOTE_API_URL }}

# Add or replace database setup steps here
- name: set up config file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
- date = render DateTimeFieldComponent.new(value: ontology[:released])
%span{data:{controller:'tooltip'}, title: "Release date #{date}"}
= render ChipButtonComponent.new(type: "clickable") do
= DateTime.parse(date).year
= DateTime.parse(date).year rescue date

- if ontology[:format]
%span.mx-1
Expand Down

0 comments on commit b2bc013

Please sign in to comment.