Skip to content

Instantly share code, notes, and snippets.

@thata
Last active November 16, 2017 13:58
Show Gist options
  • Save thata/73baf4c67fe45075110082066bf89da5 to your computer and use it in GitHub Desktop.
Save thata/73baf4c67fe45075110082066bf89da5 to your computer and use it in GitHub Desktop.
「1桁の月日の場合、十の位はゼロ埋めではなくスペースで埋めて、2桁の月の表記と縦のラインがそろうようにします」=> モノスペースじゃないフォントだとずれるのでは?というのを確認
<html>
<body>
<pre style="font-family: serif">
2017/ 1/ 1
2017/ 1/ 2
2017/ 1/ 3
2017/ 1/10
2017/ 1/28
2017/ 1/29
2017/ 1/30
2017/ 1/31
2017/10/ 1
2017/10/ 2
2017/10/ 3
2017/10/10
2017/10/11
2017/10/12
2017/12/29
2017/12/30
2017/12/31
</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment