Compare commits
No commits in common. "ffe325a7f0eb90cc37318dc0d9a00c0572f19f14" and "e494c194681a50f9ea81cbecbe410a737829fc98" have entirely different histories.
ffe325a7f0
...
e494c19468
|
@ -1,8 +1,7 @@
|
|||
FROM golang:latest
|
||||
MAINTAINER Andreas Neue <an@dnix.de>
|
||||
|
||||
RUN apt -y update && apt -y upgrade && apt-get install -y fortune vim tzdata ca-certificates && apt-get clean
|
||||
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||
RUN apt -y update && apt -y upgrade && apt-get install -y fortune vim ca-certificates && apt-get clean
|
||||
|
||||
WORKDIR /go/src/flokati
|
||||
COPY . .
|
||||
|
|
|
@ -29,8 +29,8 @@ func fuzzytimeHandleMessage(m *Message) {
|
|||
func fuzzytimeShow(channel string) {
|
||||
t := time.Now()
|
||||
h := t.Hour()
|
||||
z, o := t.Zone()
|
||||
h = h + o
|
||||
tzcorrect := 1
|
||||
h = h + tzcorrect // XXX: This should not be hardcoded
|
||||
m := t.Minute()
|
||||
s := "Es ist "
|
||||
switch {
|
||||
|
|
Loading…
Reference in New Issue