mirror of
https://github.com/Xevion/banner.git
synced 2025-12-07 07:14:25 -06:00
Fix ICS version
This commit is contained in:
@@ -334,7 +334,7 @@ func NewCalendar() *ics.Calendar {
|
|||||||
Components: []ics.Component{},
|
Components: []ics.Component{},
|
||||||
CalendarProperties: []ics.CalendarProperty{},
|
CalendarProperties: []ics.CalendarProperty{},
|
||||||
}
|
}
|
||||||
c.SetVersion(Version)
|
c.SetVersion("2.0")
|
||||||
c.SetProductId("-//xevion//Banner Discord Bot//EN")
|
c.SetProductId("-//xevion//Banner Discord Bot//EN")
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|||||||
6
main.go
6
main.go
@@ -31,8 +31,10 @@ var (
|
|||||||
centralTime *time.Location
|
centralTime *time.Location
|
||||||
)
|
)
|
||||||
|
|
||||||
const Version = "0.0.1"
|
const (
|
||||||
const CentralTimezone = "America/Chicago"
|
ICalTimestampFormatUtc = "20060102T150405Z"
|
||||||
|
CentralTimezone = "America/Chicago"
|
||||||
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// Load environment variables
|
// Load environment variables
|
||||||
|
|||||||
Reference in New Issue
Block a user