We're updating the issue view to help you get more done. 

Global undocumented function setYear appeared in 5.1.

Description

In 5.0, there was so function called setYear:

1 2 3 4 5 <cfset setYear()> Lucee 5.0.1.47-SNAPSHOT Error (expression) Message No matching function [SETYEAR] found In 5.1, there is a globally available, and undocumented as far as I can tell, function called setYear:
1 2 3 4 <cfset setYear()> Lucee 5.1.0.34 Error (template) Message too few attributes in function [setYear] Pattern setyear(date:datetime, year:number [, timezone:timezone]):datetime

This breaks existing applications that define their own setYear function.

Environment

Ubuntu 12.04.2 and Ubuntu 16.04.1

Status

Assignee

Michael Offner

Reporter

Leon Miller-Out

Labels

None

Fix versions

Affects versions

5.1.0.26

Priority

Critical