diff options
Diffstat (limited to '')
-rw-r--r-- | _tils/2020-08-12-nome-de-arquivo-com-timestamp-simplificado.md | 8 | ||||
-rw-r--r-- | _tils/2020-08-12-simple-filename-timestamp.md | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/_tils/2020-08-12-nome-de-arquivo-com-timestamp-simplificado.md b/_tils/2020-08-12-nome-de-arquivo-com-timestamp-simplificado.md index 9603464..67226ca 100644 --- a/_tils/2020-08-12-nome-de-arquivo-com-timestamp-simplificado.md +++ b/_tils/2020-08-12-nome-de-arquivo-com-timestamp-simplificado.md @@ -1,11 +1,19 @@ --- + title: Nome de arquivo com timestamp simplificado + date: 2020-08-12 + updated_at: 2020-09-04 + layout: post + lang: pt + ref: simple-filename-timestamp + --- + Quando vou escrever um post no Jekyll ou criar um arquivo de log com a data no nome, eu normalmente engasgo para achar um jeito direto de fazer isso. Há uma solução simples: `date -I`. diff --git a/_tils/2020-08-12-simple-filename-timestamp.md b/_tils/2020-08-12-simple-filename-timestamp.md index ea88e70..c6003d7 100644 --- a/_tils/2020-08-12-simple-filename-timestamp.md +++ b/_tils/2020-08-12-simple-filename-timestamp.md @@ -4,6 +4,8 @@ title: Simple filename timestamp date: 2020-08-12 +updated_at: + layout: post lang: en |