Skip to content

Commit

Permalink
[IMP] web: bump luxon lib from 3.0.1 to 3.4.2
Browse files Browse the repository at this point in the history
**Changelog**

**3.4.2 (2023-08-26)**

- Fixes regression from 3.4.1 (moment/luxon#1493)

**3.4.1 (2023-08-23)**

- Fixes for regressions from 3.4.0
  (moment/luxon#1482 and moment/luxon#1488)

**3.4.0 (2023-08-08)**

- Fix type checking on input zones
- Fix Islamic months listing
- Fix normalize() for negative inputs

**3.3.0 (2023-03-03)**

- Fix off-by-one in Interval#count (moment/luxon#1308)
- Support formatting for custom zones (moment/luxon#1377)
- Fix parsing for narrow spaces (moment/luxon#1369)
- Handle leap year issue with AD 100 (moment/luxon#1390)
- Allow parsing of just an offset

**3.2.1 (2023-01-04)**

- Fix for RFC-2822 regex vulnerability
- Better handling of BCP tags with -x- extensions

**3.2.0 (2022-12-29)**

- Allow timeZone to be specified as an intl option
- Fix for diff's handling of end-of-month when crossing leap years
  (moment/luxon#1340)
- Add Interval.toLocaleString() (moment/luxon#1320)

**3.1.1 (2022-11-28)**

- Add Settings.twoDigitCutoffYear

**3.1.0 (2022-10-31)**

- Add Duration.rescale

**3.0.4 (2022-09-24)**

- Fix quarters in diffs (moment/luxon#1279)
- Export package.json in package (moment/luxon#1239)

**3.0.2 (2022-08-28)**

- Lots of doc changes
- Added DateTime.expandFormat
- Added support for custom conversion matrices in Durations

closes #133599

Related: odoo/enterprise#46556
Signed-off-by: Luca Vitali (luvi) <luvi@odoo.com>
  • Loading branch information
brboi committed Sep 4, 2023
1 parent b959eb5 commit fde29ed
Show file tree
Hide file tree
Showing 4 changed files with 4,798 additions and 6,027 deletions.
2 changes: 1 addition & 1 deletion addons/mail/static/src/views/web/activity/activity_cell.js
Expand Up @@ -28,7 +28,7 @@ export class ActivityCell extends Component {
get closestDeadlineFormatted() {
const date = luxon.DateTime.fromISO(this.props.closestDeadline);
// To remove year only if current year
if (new luxon.DateTime.now().year === date.year) {
if (luxon.DateTime.now().year === date.year) {
return date.toLocaleString({
day: "numeric",
month: "short",
Expand Down

0 comments on commit fde29ed

Please sign in to comment.