OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/models/week_day.rb

6 lines
119 B

class WeekDay < ApplicationRecord
def name
day_names = I18n.t('date.day_names')
day_names[day % 7]
end
end