Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
cooperatic-foodcoops
third-party
Commits
96c8e66d
Commit
96c8e66d
authored
Nov 19, 2021
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
invalid date repaired
parent
9305e1ab
Pipeline
#1484
passed with stage
in 1 minute 30 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
members-space-shifts-exchange.js
members_space/static/js/members-space-shifts-exchange.js
+1
-1
members-space.js
members_space/static/js/members-space.js
+1
-1
No files found.
members_space/static/js/members-space-shifts-exchange.js
View file @
96c8e66d
...
...
@@ -120,7 +120,7 @@ function init_shifts_list() {
for
(
shift
of
incoming_shifts
)
{
let
shift_line_template
=
$
(
"#selectable_shift_line_template"
);
let
datetime_shift_start
=
new
Date
(
shift
.
date_begin
);
let
datetime_shift_start
=
new
Date
(
shift
.
date_begin
.
replace
(
/
\s
/
,
'T'
)
);
let
f_date_shift_start
=
datetime_shift_start
.
toLocaleDateString
(
"fr-fr"
,
date_options
);
...
...
members_space/static/js/members-space.js
View file @
96c8e66d
...
...
@@ -138,7 +138,7 @@ function update_content() {
*/
function
prepare_shift_line_template
(
date_begin
)
{
let
shift_line_template
=
$
(
"#shift_line_template"
);
let
datetime_shift_start
=
new
Date
(
date_begin
);
let
datetime_shift_start
=
new
Date
(
date_begin
.
replace
(
/
\s
/
,
'T'
)
);
let
f_date_shift_start
=
datetime_shift_start
.
toLocaleDateString
(
"fr-fr"
,
date_options
);
...
...
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