tracker issue : CF-4202306

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: week()'s "calendar" parameter should accept its default value "gregorian"

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Aaron Neff / ()

Created: 05/06/2018

Components: Language, Named Parameters

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 2018.0.01.308605 (PreRelease) / 2020.0.0.318323

Priority/Frequency: Normal / Few users will encounter

Locale/System: / Platforms All

Vote Count: 0

Issue: week()'s "calendar" parameter should accept its default value "gregorian"

Per Named Argument support, week()'s 2nd parameter is named "calendar" and accepts a non-default value "iso". (good) (note: "iso", here, stands for "ISO 8601 week date calendar")

However, the default value is not specifiable (bad).

Suggestion: week()'s "calendar" parameter should accept the default value "gregorian", as Gregorian is the default calendar used by CF.

Attachments:

Comments: