Bugfix, JAN doesn't seem to work for date format. Corrected to Jan
This commit is contained in:
6
main.go
6
main.go
@ -13,9 +13,9 @@ import (
|
|||||||
|
|
||||||
// Configurable section
|
// Configurable section
|
||||||
var downloadPath = "/tmp/"
|
var downloadPath = "/tmp/"
|
||||||
var outputFormat = "┌───[ $USER @ $DEVICE ] [ $ID ] [ $DATE - $TIME ]\n└╼ $MSG"
|
var outputFormat = "┌──[$USER@$DEVICE] [$ID] [$DATE - $TIME]\n└╼ $MSG"
|
||||||
// 02 = Day, JAN = Month, 06 = Year
|
// 02 = Day, Jan = Month, 06 = Year
|
||||||
var dateFormat = "02JAN06"
|
var dateFormat = "02Jan06"
|
||||||
// 15 = hours, 04 = minutes, 05 = seconds
|
// 15 = hours, 04 = minutes, 05 = seconds
|
||||||
var timeFormat = "15:04"
|
var timeFormat = "15:04"
|
||||||
// End configurable section
|
// End configurable section
|
||||||
|
|||||||
Reference in New Issue
Block a user