-
Notifications
You must be signed in to change notification settings - Fork 117
Master wowl dates boi #867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7420f36 to
885a63a
Compare
|
Sorry, I didn't know about this PR and had to retrieve its information, you may have to re-approve it. |
|
robodoo r+ |
|
@brboi runbot is red |
885a63a to
7f523a3
Compare
Yes... I had an issue with https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test#using_test_on_a_regex_with_the_global_flag Solved. @ged-odoo I also changed the DateTime.prototype.toJSON. See last item in commit message No other changes since your last review than lines:
|
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch
7f523a3 to
8543d95
Compare
|
robodoo r+ |
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
- file is now ordered by clean sections - `confirm()` helper has been renamed to something more appropriate - `strftimeToLuxonFormat()` was manually cached. It now uses `memoize()` from `core/utils/functions` - memoization of `stripAlphaDupes()` because it is prone to get called really often with same arguments. - no more export `parseSmartDateInput()` as it is never imported elsewhere. - remove unecessary `setLocale` call in `luxon.DateTime.prototype.toJSON` patch closes #867 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
date utils: create sections ?? + date utils confirm => isValidDateTime + there's a comment about replacing returns false with DateTime.invalid(reason)