@PascalPiche came across this bug while displaying the weekday name: The DS formats the weekday with 'N', which uses ISO-8601 (first date of the week is then Monday as in the US, not Sunday). There were multiple places where a fix could be applied, but the best solutions we found was to apply the fix in the data-source for two reasons: 1. Field ouput won't change, so less risk to break things 2. The xsl template is agnostic to this change since it was doing string matches
This change makes sure that the time is always midnight (00:00:00) when the field setting 'time' is set to 0. This change will also simplify filtering with 'now' when time is disabled. It introduce the method `parseDateTime` in order to acheive it without code duplication. This method handles the proper date format according to the field's setting. Fixes #159
This change applies to when the user removes the end date of a range. The problem was that the old, two inputs tall size was kept, preventing the calendar from being complety hidden. The proposed fix uses an old and dirty hack: layout trashing. It basically removes the end input from the layout, asks for a re-layout by triggering both update and set size events and then reverts the initial display value and starts the animation. There are other ways to fix it, but since the system is event based, I afraid it would take to much effort.
This commit need PR symphonycms/symphony-2#2121 in order to work. This change adds to things: a way to tell the collapsible plugin to refresh its value cache for height of the content. It also add a basic prevention in order to optimize things a bit.
This change introduce a more qualified css selector in order to listen and interact with the collapsible and duplicator plugin. This reduces then number of possible targets while also preventing wrong interactions with the plugin since the calendar interface also contains li elements.
This prevents a nasty effect where opening the calendar would make the scrollbar appear when it was not needed before. This makes the experience less enjoyable since the glitch always distracts the user's eyes. This also as no effect whats so ever on OS X.