andrewplummer/Sugar — Issue #72: Date.format() bug
Author: kmdsbng
Created: 2011-12-07 04:03:40+00:00
State: open

v1.1.1

new Date().format('{YYYY}/{MM}/{dd}')
=> "{YYYY}/12/07"

You can see this problem in example in api documentation. http://sugarjs.com/api