Last active
April 12, 2019 08:42
-
-
Save houmanka/0dad39b1317f79022a9fda8f15363bd1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
%{ | |
finish: ~D[2019-04-08], | |
user: %{first_name: "Josh", hours: 1.0, id: 24, last_name: "Proud"} | |
}, | |
%{ | |
finish: ~D[2019-04-09], | |
user: %{first_name: "Josh", hours: 1.0, id: 24, last_name: "Proud"} | |
}, | |
%{ | |
finish: ~D[2019-04-09], | |
user: %{first_name: "Jane", hours: 1.0, id: 29, last_name: "Smith"} | |
}, | |
%{ | |
finish: ~D[2019-04-14], | |
user: %{first_name: "Josh", hours: 25.0, id: 24, last_name: "Proud"} | |
}, | |
%{ | |
finish: ~D[2019-04-20], | |
user: %{first_name: "Josh", hours: 1.0, id: 24, last_name: "Proud"} | |
}, | |
%{ | |
finish: ~D[2019-05-06], | |
user: %{first_name: "Houman", hours: 1.0, id: 29, last_name: "Kargaran"} | |
}, | |
%{ | |
finish: ~D[2019-06-12], | |
user: %{first_name: "Houman", hours: 1.0, id: 29, last_name: "Kargaran"} | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[%{ | |
"2019-04-05": nil, | |
"2019-04-12": [%{first_name: "Josh", hours: 2.0, id: 24, last_name: "Proud"}, | |
%{first_name: "Jane", hours: 1.0, id: 29, last_name: "Smith"}], | |
"2019-04-19": [%{first_name: "Josh", hours: 25.0, id: 24, last_name: "Proud"}], | |
"2019-04-26": [%{first_name: "Josh", hours: 1.0, id: 24, last_name: "Proud"}], | |
"2019-05-03": nil, | |
"2019-05-10": [%{first_name: "Houman", hours: 1.0, id: 29, last_name: "Kargaran"}], | |
"2019-05-17": nil, | |
"2019-05-24": nil, | |
"2019-05-31": nil, | |
"2019-06-07": nil, | |
"2019-06-14": [%{first_name: "Houman", hours: 1.0, id: 29, last_name: "Kargaran"}], | |
"2019-06-21": nil, | |
"2019-06-28": nil }] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~D[2019-04-05], ~D[2019-04-12], ~D[2019-04-19], ~D[2019-04-26], ~D[2019-05-03], | |
~D[2019-05-10], ~D[2019-05-17], ~D[2019-05-24], ~D[2019-05-31], ~D[2019-06-07], | |
~D[2019-06-14], ~D[2019-06-21], ~D[2019-06-28]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Might be not the most prettiest approach, but: