Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Mar 7, 2020
1 parent 876744f commit 8b77bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v5/pkg/tsl/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func (l *Listener) ExitDateLiteral(c *parser.DateLiteralContext) {
l.exitLiteral(DateOp, t)
}

// ExitShortDateLiteral is called when exiting the DateLiteral production.
func (l *Listener) ExitShortDateLiteral(c *parser.DateLiteralContext) {
// ExitShortDateLiteral is called when exiting the ShortDateLiteral production.
func (l *Listener) ExitShortDateLiteral(c *parser.ShortDateLiteralContext) {
s := c.GetRuleContext().GetText()
t, err := time.Parse("2006-01-02", s)
if err != nil {
Expand Down

0 comments on commit 8b77bae

Please sign in to comment.