diff options
| author | Xavier Morel <xmo@odoo.com> | 2016-03-14 16:47:53 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2016-03-29 10:34:25 +0200 |
| commit | bc4d10f48d5427383e0eaaa8cae153713cf0d69c (patch) | |
| tree | a443c0c3199764b0cead738a7b999e3f415a6f17 /addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 2fea143b06ed7aa4ed45adfa2b974264f938c421 (diff) | |
[IMP] groupby domains & unformated dates
* ensure groupby domains are normalised, that's significantly more
convenient for subsequent manipulations and combinations (e.g. OR-ing
domains of multiple groups)
* split off "raw" groupby which provides ISO-8601 date and datetime
ranges[0] (half-open) as values for grouped date/datetime fields
for instance when grouping weekwise on a date field, the group
including May 11th, 1930 would have the following value for
the (grouped) date field: `("1930-05-05/1930-05-12", "W19 1930")`[1]
this means callers can access the programmatic date range value
* fix website_mail_channel and website_blog to *not* go and randomly dig
into the domains assuming a bunch of unspecified stuff about its
formatting (such as it not being normalized)
[0] https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
[1] actual week number turns out to be locale-dependent...
Diffstat (limited to 'addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
