Created
January 8, 2015 04:27
-
-
Save mimonelu/e5af079abe8cd028163e to your computer and use it in GitHub Desktop.
30 日分の日付を列挙するブックマークレット
This file contains hidden or 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
javascript:N=30,D=["日","月","火","水","木","金","土"],d=new Date();prompt(null,Array.apply(null, Array(N)).map(function(a,i){i&&d.setDate(d.getDate()+1);return (("0"+(d.getMonth()+1)).slice(-2))+"/"+(("0"+d.getDate()).slice(-2))+" ("+D[d.getDay()]+") ";}).join("\n"));void(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment