format
This commit is contained in:
parent
6d89ee0154
commit
440d717bc4
@ -6,7 +6,6 @@ const MINUTE = 'minute';
|
||||
const SECOND = 'second';
|
||||
const MILLISECOND = 'millisecond';
|
||||
|
||||
|
||||
export default {
|
||||
parse_duration(duration) {
|
||||
const regex = /([0-9]+)(y|m|d|h|min|s|ms)/gm;
|
||||
@ -84,7 +83,7 @@ export default {
|
||||
month: 'long',
|
||||
});
|
||||
const dateTimeFormatShort = new Intl.DateTimeFormat(lang, {
|
||||
month: "short",
|
||||
month: 'short',
|
||||
});
|
||||
const month_name = dateTimeFormat.format(date);
|
||||
const month_name_capitalized =
|
||||
|
||||
@ -1167,7 +1167,7 @@ export default class Gantt {
|
||||
ids = [parent_bar_id];
|
||||
}
|
||||
bars = ids.map((id) => this.get_bar(id));
|
||||
|
||||
|
||||
this.bar_being_dragged = parent_bar_id;
|
||||
|
||||
bars.forEach((bar) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user