Browse Source

Bugfix, JAN doesn't seem to work for date format. Corrected to Jan

pull/1/head
Gregory Rudolph 5 years ago
parent
commit
8f61d68196
  1. 6
      main.go

6
main.go

@ -13,9 +13,9 @@ import ( @@ -13,9 +13,9 @@ import (
// Configurable section
var downloadPath = "/tmp/"
var outputFormat = "┌──[ $USER @ $DEVICE ] [ $ID ] [ $DATE - $TIME ]\n└╼ $MSG"
// 02 = Day, JAN = Month, 06 = Year
var dateFormat = "02JAN06"
var outputFormat = "┌──[$USER@$DEVICE] [$ID] [$DATE - $TIME]\n└╼ $MSG"
// 02 = Day, Jan = Month, 06 = Year
var dateFormat = "02Jan06"
// 15 = hours, 04 = minutes, 05 = seconds
var timeFormat = "15:04"
// End configurable section

Loading…
Cancel
Save