Code Monkey home page Code Monkey logo

Comments (2)

jvergerolle avatar jvergerolle commented on May 31, 2024

Hi thanks for reporting the issue. It's corrected for the specific banner you mentioned.
Did you noticed other incorrect start or end times on other banners ?

We try to be the more accurate as possible but there can be a small difference between the API result and the real start date (few hours for minor updates and up to 6 hours for major updates)

from genshin-wishes-api.

KeyPJ avatar KeyPJ commented on May 31, 2024

FandomWiki is corrent

I can get all the end time and start time by the js code,but i still need to compare them manually

[...new Set([].slice.call(document.querySelectorAll('tr > td:nth-child(3)')).map(a=>a.getAttribute('data-sort-value')))].sort()

just compare date

store wiki data as global variable all
store response date as as global variable temp1

temp1.filter(a=>{const{start,end}=a ;return !all.map(a=>a&&[...(a).match(/(\d{4}-\d{2}-\d{2})/g)].join('')).includes(`${end.substr(0,10)}${start.substr(0,10)}`)}).map(a=>a.version)

I get the incorrect banners

character
['2.5.1', '2.4.1', '2.3.1', '2.1.1', '2.0.1', '1.6.1', '1.5.1', '1.3.3', '1.2.2', '1.1.2', '1.0.2', '1.0.1']
weapon
['2.5.1', '2.4.1', '2.3.1', '2.1.1', '2.0.1', '1.6.1', '1.5.1', '1.3.2', '1.2.2', '1.1.2', '1.1.1', '1.0.2', '1.0.1']

from genshin-wishes-api.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.