Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
mason-today-web
Commits
a660bcaa
Commit
a660bcaa
authored
Jul 17, 2018
by
Zach Osman
Browse files
rename key
parent
51449078
Changes
1
Show whitespace changes
Inline
Side-by-side
mason-today/parscript.py
View file @
a660bcaa
...
@@ -111,7 +111,7 @@ def filter_data_into_days(dictlist):
...
@@ -111,7 +111,7 @@ def filter_data_into_days(dictlist):
timestamp
=
datetime
(
timestamp
=
datetime
(
int
(
event
[
"year"
]),
_MONTH_DICT
[
event
[
"month"
]],
int
(
event
[
"dayofmonth"
]))
int
(
event
[
"year"
]),
_MONTH_DICT
[
event
[
"month"
]],
int
(
event
[
"dayofmonth"
]))
day_dict
[
event_date
]
=
{
day_dict
[
event_date
]
=
{
"date"
:
event_date
,
"datetime"
:
timestamp
.
isoformat
(
' '
),
"
events
"
:
[
event
]}
"date"
:
event_date
,
"datetime"
:
timestamp
.
isoformat
(
' '
),
"
data
"
:
[
event
]}
day_list
=
[
day_list
=
[
day_dict
[
day
]
day_dict
[
day
]
for
day
in
day_dict
for
day
in
day_dict
...
...
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