Hacker News new | ask | show | jobs
by frik 4575 days ago
The date-picker has a bug, it shows calendar week "53" instead of 1 (first week of 2014): http://postimg.org/image/faubokz5b/

SAPUI5 is good, finally they can replace the outdated Netweavers Web UI with its horrible JS code.

2 comments

In US week numbering i believe that is actually valid, because week 53 can also be week 1 of the next year. Given that in the screenshot the weeks start on sunday, i assume US numbering applies. They probably have a setting to switch to ISO week numbering where it would indeed be week 1.
It's probably defaulting to the 4-4-5 calendar used in finance or something.
maybe.

I think they coded it for European style calendar format "Monday" = first day of week, as SAP is a german company. I wrote a datepicker in JavaScript and it had similar bugs in one of the calendar formats too.