Mercurial > hgrepos > hgweb.cgi > s4
changeset 574:e4e207222ee9
Do not forget to display time
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 01 May 2019 21:43:31 +0900 |
parents | 9a4504aef7ac |
children | 618ecf019115 |
files | s4-blog.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-blog.sh Thu Apr 25 10:22:17 2019 +0900 +++ b/s4-blog.sh Wed May 01 21:43:31 2019 +0900 @@ -286,12 +286,12 @@ substr(s.TIME, 12) ) WHEN s.TIME < '2020' - THEN printf('令和元年%d月%d日', + THEN printf('令和元年%d月%d日%s', substr(s.TIME, 6, 2), substr(s.TIME, 9, 2), substr(s.TIME, 12)) WHEN s.TIME < '2050' - THEN printf('令和%d年%d月%d日', + THEN printf('令和%d年%d月%d日%s', substr(s.TIME, 1, 4)-2018, substr(s.TIME, 6, 2), substr(s.TIME, 9, 2),