Code Monkey home page Code Monkey logo

Comments (7)

ingria avatar ingria commented on May 28, 2024

What page are you referring to?

from tonscan.

esigra avatar esigra commented on May 28, 2024

For example this: https://tonscan.org/address/EQAwsDboFl_iGuaflNn5959HOamenkvQEQDwakO55CY2SGB8
Click on a transaction to expand it and look below the text "Timestamp".

from tonscan.

esigra avatar esigra commented on May 28, 2024

I see that the code calls toLocaleString in 5 places: https://github.com/search?q=repo%3Acatchain%2Ftonscan+toLocaleString&type=code

In one of them, it adds the parameter this.$i18n.locale. I do not know why it does it in only one of the places. I do not know whether a localized string is sent from the server to the browser or if it is localized in the browser.

from tonscan.

ingria avatar ingria commented on May 28, 2024

The code in this repository is a bit outdated, but yes, dates are created locally with toLocaleString method. We'll add seconds to transaction dates in the next release.

Meanwhile, could you tell me what is your browser active locale (type navigator.language in console)?

from tonscan.

esigra avatar esigra commented on May 28, 2024

Microsoft Windows: 'sv'
Linux: "sv-SE"

from tonscan.

ingria avatar ingria commented on May 28, 2024

Ok, thanks. So the problem here is that we're using the american date format to display the date, and therefore it looks strange for someone outside the US.

We'll think how to fix that, thanks for the report.

from tonscan.

esigra avatar esigra commented on May 28, 2024

Thanks, timestamps work again on Microsoft Windows (but still on Linux) so all is the same as a few days ago.

from tonscan.

Related Issues (20)

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.