YourOnly.One's Hugo Test Site

Language selector

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

Language selector