YourOnly.OneのHugoテストサイト


メニュー

JA: timezone abbr with offset

This page displays the output of .Date.Format and time.Format depending on the format chosen.

Format: 2006-01-02 15:04 MST

  • <html lang="ja">
  • frontmatter: 2006-01-02T15:04:05+09:00
  • expected: 2006-01-02 15:04 JST
    • output:
    • .Date.Format: 2006-01-02 15:04 +0900
    • time.Format: 2006-01-02 15:04 +0900

Extra test: 2006-01-02 15:04Z07:00

  • <html lang="ja">
  • frontmatter: 2006-01-02T15:04:05+09:00
  • expected: 2006-01-02 15:04+09:00
    • output:
    • .Date.Format: 2006-01-02 15:04+09:00
    • time.Format: 2006-01-02 15:04+09:00