Remove extra chromosome broken JS date constructor

master
Raymon Zutekouw 4 years ago committed by Raymonzut
parent 9d44aa5d4e
commit 1ba2a430fe
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 2
      client/public/lib/me.mjs

@ -1,5 +1,5 @@
export function age() {
let birthdate = new Date(2002, 8, 29)
let birthdate = new Date("29 August 2002")
let now = new Date()
let age = now.getFullYear() - birthdate.getFullYear()

Loading…
Cancel
Save