mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
[website] bugfix; supporters weren’t being shown.
This commit is contained in:
1 parent
a9aafe2d79
commit
82a7354a84
1 file changed
+1
-1
@@ -26,7 +26,7 @@
|
||||
|
||||
function toDate(s) {
|
||||
var x = /^(\d{4})-(\d{2})-(\d{2})$/.exec(s);
|
||||
if (x) return new Date(parseInt(x[1]), parseInt(x[2]), parseInt(x[3]));
|
||||
if (x) return new Date(parseInt(x[1]), parseInt(x[2]) - 1, parseInt(x[3]));
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user