oh-my-posh/docs/docs/segment-time.md
2020-10-16 11:18:19 -07:00

425 B

id title sidebar_label
time Time Time

What

Show the current timestamp.

Sample Configuration

{
  "type": "time",
  "style": "plain",
  "foreground": "#007ACC",
  "properties": {
    "time_format": "15:04:05"
  }
}

Properties

  • time_format: string - format to use, follows the golang standard - defaults to 15:04:05