Google Apps Script year bug

I just ran into an awkward issue on Google Apps Script. Since yesterday, Dec 30, 2019, the function Utilities.formatDate returns 2020 as the current year. In the screenshot, you can see the log of function ‘yearBug’. The log timestamp clearly indicates Dec 31, 2019, but the output is 2020. for screenshot click here The timezone […]