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
1ab954f6
Commit
1ab954f6
authored
Nov 19, 2021
by
Damien Moulard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ticket_1315' into 'evolution_bdm'
Ticket 1315 - invalid date sur safari See merge request
!65
parents
9f883d7c
96c8e66d
Pipeline
#1490
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
members-space-shifts-exchange.js
members_space/static/js/members-space-shifts-exchange.js
+2
-3
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 @
1ab954f6
...
...
@@ -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
);
...
...
@@ -379,4 +379,4 @@ function init_shifts_exchange() {
$
(
"#shifts_exchange_content"
).
show
();
init_calendar_page
();
}
}
\ No newline at end of file
}
members_space/static/js/members-space.js
View file @
1ab954f6
...
...
@@ -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