Skip to content

Commit 480afb1

Browse files
committed
[IMP] web: bump luxon lib from 3.0.1 to 3.4.2
**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
1 parent 97d8f1d commit 480afb1

File tree

4 files changed

+4798
-6027
lines changed

4 files changed

+4798
-6027
lines changed

addons/mail/static/src/views/web/activity/activity_cell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class ActivityCell extends Component {
2828
get closestDeadlineFormatted() {
2929
const date = luxon.DateTime.fromISO(this.props.closestDeadline);
3030
// To remove year only if current year
31-
if (new luxon.DateTime.now().year === date.year) {
31+
if (luxon.DateTime.now().year === date.year) {
3232
return date.toLocaleString({
3333
day: "numeric",
3434
month: "short",

0 commit comments

Comments
 (0)