Times are now rendered using the browsers time zone (#2438)

This commit is contained in:
Ahmad Farhat
2021-01-17 14:48:51 -05:00
committed by GitHub
parent fed6ca4d03
commit 4bf0811136
14 changed files with 20 additions and 28 deletions

View File

@ -19,13 +19,6 @@
require "rails_helper"
describe RecordingsHelper do
describe "#recording_date" do
it "formats the date" do
date = DateTime.parse("2019-03-28 19:35:15 UTC")
expect(helper.recording_date(date)).to eql("March 28, 2019")
end
end
describe "#recording_length" do
it "returns the time if length > 60" do
playbacks = [{ type: "test", length: 85 }]