method

beginning_of_week

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: Date
beginning_of_week() public

Returns the week start (e.g. :monday) for the current request, if this has been set (via Date.beginning_of_week=). If Date.beginning_of_week has not been set for the current request, returns the week start specified in config.beginning_of_week. If no config.beginning_of_week was specified, returns :monday.

Show source
Register or log in to add new notes.