tracker issue : CF-4126517

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

[ANeff] Bug for: week() "iso" returns incorrectly

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

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

Created: 03/09/2016

Components: Language

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Beta1_v12 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 0

Duplicate ID:	CF-3917706

week() "iso" returns incorrectly

Repro:

writeOutput(week(createdate(2016,1,3), "iso"))

Actual result: 2016-W2

Expected result: 2015-W53

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126517

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Reason newValue: Duplicate oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:25:35.0 action: updated fieldName: Duplicate Bug ID newValue: CF-3917706 oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:25:35.0 action: updated fieldName: Status newValue: Withdrawn oldValue: Fixed oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:25:35.0 action: updated fieldName: Owner newValue: Blank oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:20:20.0 action: updated fieldName: Date Closed newValue: 2015-12-14 04:20:20.0 oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:20:20.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:20:20.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:20:20.0 action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:20:20.0 action: updated fieldName: Closed By newValue: inoel oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-14 12:20:20.0 action: updated fieldName: Fixed By newValue: siddhart oldValue: Blank oprid: siddhart recordName: RQ_DEFECT timpestamp: 2015-12-10 05:26:48.0 action: updated fieldName: Date Fixed newValue: 2015-12-09 21:26:48.0 oldValue: Blank oprid: siddhart recordName: RQ_DEFECT timpestamp: 2015-12-10 05:26:48.0 action: updated fieldName: Owner newValue: inoel oldValue: siddhart oprid: siddhart recordName: RQ_DEFECT timpestamp: 2015-12-10 05:26:48.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: siddhart recordName: RQ_DEFECT timpestamp: 2015-12-10 05:26:48.0 action: updated fieldName: Reason newValue: Fixed oldValue: Investigate oprid: siddhart recordName: RQ_DEFECT timpestamp: 2015-12-10 05:26:48.0 action: updated fieldName: Fix By Product Milestone newValue: Gold Master oldValue: Beta2 oprid: awdhesh recordName: RQ_DEFECT timpestamp: 2015-12-09 10:24:37.0 action: updated fieldName: Fix By Product Milestone newValue: Beta2 oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-09 09:52:09.0 action: updated fieldName: Owner newValue: siddhart oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-09 09:52:09.0 action: updated fieldName: Dev Assigned newValue: siddhart oldValue: awdhesh oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-09 09:52:09.0 action: updated fieldName: Reason newValue: Investigate oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-09 09:52:09.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-09 09:52:09.0 action: updated fieldName: Fix By Milestone newValue: Beta2 oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-12-09 09:52:09.0
Comment by CFwatson U.
3898 | March 09, 2016 02:25:46 AM GMT
Added By: PreRelease User User Name:Aaron Neff Note Added: The ISO spec doesn't say it must return an integer. The ISO spec says the week-of-year and year may differ from calendar week-of-year and year. Changing week() "iso" to return an integer only covers 50% of the spec for this. Date Added :2016-01-09 00:49:01.0 Added By:inoel Note Added: This issue has been fixed, but will be closing as Withdrawn > Duplicate, since bug # CF-3917706 has been raised for the same issue in CF 11. Bug fix: -> Week(date,"iso") now adheres to ISO 8601 spec. -> Returns an integer. Date Added :2015-12-14 12:20:21.0 Added By: PreRelease User User Name:Aaron Neff Note Added: The forum thread for this ticket is: http://prerelease.adobe.com/r/?eaa6908cba6442ea8781fc820679358b Please follow-up in that thread, not here in this ticket. Date Added :2015-12-08 09:03:55.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Related URL: http://www.epochconverter.com/date-and-time/weeknumbers-by-year.php?year=2015 Date Added :2015-12-08 08:42:58.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Entered Bug. Date Added :2015-12-08 08:41:22.0
Comment by CFwatson U.
3899 | March 09, 2016 02:25:47 AM GMT