Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
bisago
bisago-be
Commits
799b08a6
Commit
799b08a6
authored
May 29, 2021
by
Muhammad Rafif Elfazri
Browse files
[RED] Change date format to YYYY-MM-DD HH:mm
parent
1cf40030
Changes
1
Hide whitespace changes
Inline
Side-by-side
informasi_fasilitas/test_base.py
View file @
799b08a6
...
...
@@ -58,15 +58,15 @@ class InformasiFasilitasTest(TestCase):
time_end
=
timezone
.
now
()
+
timedelta
(
days
=
2
)
time_start_zone
=
{
"WIB"
:
time_start
.
astimezone
(
TIMEZONE_INDONESIA
[
"WIB"
]).
strftime
(
"%Y-%m-%d
T
%H:%M%z"
),
"WITA"
:
time_start
.
astimezone
(
TIMEZONE_INDONESIA
[
"WITA"
]).
strftime
(
"%Y-%m-%d
T
%H:%M%z"
),
"WIT"
:
time_start
.
astimezone
(
TIMEZONE_INDONESIA
[
"WIT"
]).
strftime
(
"%Y-%m-%d
T
%H:%M%z"
),
"WIB"
:
time_start
.
astimezone
(
TIMEZONE_INDONESIA
[
"WIB"
]).
strftime
(
"%Y-%m-%d
%H:%M%z"
),
"WITA"
:
time_start
.
astimezone
(
TIMEZONE_INDONESIA
[
"WITA"
]).
strftime
(
"%Y-%m-%d
%H:%M%z"
),
"WIT"
:
time_start
.
astimezone
(
TIMEZONE_INDONESIA
[
"WIT"
]).
strftime
(
"%Y-%m-%d
%H:%M%z"
),
}
time_end_zone
=
{
"WIB"
:
time_end
.
astimezone
(
TIMEZONE_INDONESIA
[
"WIB"
]).
strftime
(
"%Y-%m-%d
T
%H:%M%z"
),
"WITA"
:
time_end
.
astimezone
(
TIMEZONE_INDONESIA
[
"WITA"
]).
strftime
(
"%Y-%m-%d
T
%H:%M%z"
),
"WIT"
:
time_end
.
astimezone
(
TIMEZONE_INDONESIA
[
"WIT"
]).
strftime
(
"%Y-%m-%d
T
%H:%M%z"
),
"WIB"
:
time_end
.
astimezone
(
TIMEZONE_INDONESIA
[
"WIB"
]).
strftime
(
"%Y-%m-%d
%H:%M%z"
),
"WITA"
:
time_end
.
astimezone
(
TIMEZONE_INDONESIA
[
"WITA"
]).
strftime
(
"%Y-%m-%d
%H:%M%z"
),
"WIT"
:
time_end
.
astimezone
(
TIMEZONE_INDONESIA
[
"WIT"
]).
strftime
(
"%Y-%m-%d
%H:%M%z"
),
}
# mock_kegiatan_test = {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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