GithubHelp home page GithubHelp logo

JSON export not working? about spliit HOT 4 CLOSED

spliit-app avatar spliit-app commented on September 28, 2024
JSON export not working?

from spliit.

Comments (4)

scastiel avatar scastiel commented on September 28, 2024 1

perhaps a timestamp could be added? This would be helpful to easily tell different backups apart.

Good point, just added the date. Note that because of timezone issues, I had to use the UTC date. This means that if Iā€™m in Montreal and download the file on Jan 23 at 11pm, the file will be named 2023-01-24. It would be possible to improve this, but it might be a bit overkill here.

Also, I brought back the group name in the generated file name, thanks to this NPM package šŸ˜‰

from spliit.

scastiel avatar scastiel commented on September 28, 2024

@dmlls looking at the logs, it seems that it was because the group name included a special character, such as an emoji? I was able to reproduce the error in this situation.

from spliit.

dmlls avatar dmlls commented on September 28, 2024

@scastiel that was the case indeed. The new file naming logic fixes it, although perhaps a timestamp could be added? This would be helpful to easily tell different backups apart.

from spliit.

dmlls avatar dmlls commented on September 28, 2024

@scastiel that's amazing! Thanks a lot :)

It would be possible to improve this, but it might be a bit overkill here.

I agree, like this looks great already.

from spliit.

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.