Skip to content
Permalink
Browse files

handle longlong norloge

  • Loading branch information...
devnewton committed Jun 26, 2018
1 parent 2fc9207 commit e8e8c183ab9e8fc2524aac23e962dac8774275c7
Showing with 2 additions and 2 deletions.
  1. +2 −2 peg/backend2html.pegjs
@@ -118,7 +118,7 @@ norloge
= fullNorloge / normalNorloge / shortNorloge

fullNorloge
= y: norlogeYear "-" m: norlogeMonth "-" d:norlogeDay "T" h:norlogeHours ":" mi:norlogeMinutes ":" s:norlogeSeconds
= y: norlogeYear "-" m: norlogeMonth "-" d:norlogeDay [T# ] h:norlogeHours ":" mi:norlogeMinutes ":" s:norlogeSeconds
{
var time = h + ':' + mi + ':' + s;
return '<time title="' + y + "-" + m + "-" + d + "T" + time + '">' + time + '</time>';
@@ -175,4 +175,4 @@ whitespaces
= [ \t\r\n]

inputStart
= & { return location().start.offset == 0; }
= & { return location().start.offset == 0; }

0 comments on commit e8e8c18

Please sign in to comment.
You can’t perform that action at this time.