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

@ -17,11 +17,6 @@
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
module RecordingsHelper
# Helper for converting BigBlueButton dates into the desired format.
def recording_date(date)
I18n.l date, format: "%B %d, %Y"
end
# Helper for converting BigBlueButton dates into a nice length string.
def recording_length(playbacks)
# Looping through playbacks array and returning first non-zero length value