YourOnly.One's Hugo Test Site


Menu

EN-PH: timezone abbr without 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="en-PH">
  • frontmatter: 2006-01-02T15:04:05
  • expected: 2006-01-02 15:04 PST
    • output:
    • .Date.Format: 2006-01-02 15:04 PST
    • time.Format: 2006-01-02 15:04 +0800

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

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