Skip to content

Instantly share code, notes, and snippets.

@opyate opyate/
Last active Aug 29, 2015

What would you like to do?
for D in $(curl | \
jq '.["england-and-wales"].events[] | .date') ;do \
echo "new DateTime($D)," ; done
# Renders this:
new DateTime("2012-01-02"),
new DateTime("2012-04-06"),
// ... snip
new DateTime("2015-12-28"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.