Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
planner-team-one
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
21
Issues
21
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Евгений Положенцев
planner-team-one
Commits
9530748a
Commit
9530748a
authored
Jan 11, 2023
by
Евгений Положенцев
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixtures spell fix currentTime
parent
e7cec86c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fixtures.ts
planner-api/src/fixtures.ts
+4
-4
No files found.
planner-api/src/fixtures.ts
View file @
9530748a
...
@@ -100,13 +100,13 @@ const loadFixtures = async () => {
...
@@ -100,13 +100,13 @@ const loadFixtures = async () => {
for
(
let
i
=
0
;
i
<
20
;
i
++
)
{
for
(
let
i
=
0
;
i
<
20
;
i
++
)
{
let
curr
ne
tTime
=
new
Date
()
let
curr
en
tTime
=
new
Date
()
let
startdateOfMonth
=
randomIntFromInterval
(
20
,
24
)
let
startdateOfMonth
=
randomIntFromInterval
(
20
,
24
)
let
enddateOfMonth
=
randomIntFromInterval
(
25
,
29
)
let
enddateOfMonth
=
randomIntFromInterval
(
25
,
29
)
let
deadLineDateOfMonth
=
randomIntFromInterval
(
1
,
10
)
let
deadLineDateOfMonth
=
randomIntFromInterval
(
1
,
10
)
let
startDateTime
=
new
Date
(
curr
netTime
.
getFullYear
(),
currnetTime
.
getMonth
()
+
1
,
startdateOfMonth
,
randomIntFromInterval
(
16
,
21
),
0
,
0
);
let
startDateTime
=
new
Date
(
curr
entTime
.
getFullYear
(),
currentTime
.
getMonth
()
+
1
,
startdateOfMonth
,
randomIntFromInterval
(
11
,
18
),
0
,
0
);
let
dueDateTime
=
new
Date
(
curr
netTime
.
getFullYear
(),
currnetTime
.
getMonth
()
+
1
,
enddateOfMonth
,
randomIntFromInterval
(
22
,
22
),
0
,
0
);
let
dueDateTime
=
new
Date
(
curr
entTime
.
getFullYear
(),
currentTime
.
getMonth
()
+
1
,
startdateOfMonth
,
randomIntFromInterval
(
19
,
20
),
0
,
0
);
let
deadLine
=
new
Date
(
curr
netTime
.
getFullYear
(),
currnetTime
.
getMonth
()
+
2
,
deadLineD
ateOfMonth
,
randomIntFromInterval
(
20
,
22
),
0
,
0
);
let
deadLine
=
new
Date
(
curr
entTime
.
getFullYear
(),
currentTime
.
getMonth
()
+
2
,
endd
ateOfMonth
,
randomIntFromInterval
(
20
,
22
),
0
,
0
);
const
newDateTimeTask
=
new
DateTimeTask
()
const
newDateTimeTask
=
new
DateTimeTask
()
newDateTimeTask
.
dateTimeStart
=
startDateTime
;
newDateTimeTask
.
dateTimeStart
=
startDateTime
;
newDateTimeTask
.
dateTimeDue
=
dueDateTime
;
newDateTimeTask
.
dateTimeDue
=
dueDateTime
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment