Giter Site home page Giter Site logo

Comments (3)

0megaD avatar 0megaD commented on July 22, 2024 1

@yccheok
It means that if we want the updated tzdb.dat file in this project, you have to make ThreeTenBP also take the newest TZDB.dat file. As you mentioned they didn't update it yet, so if you want them to fix it you have to wait.

Otherwise, follow the following instructions:
1.) Download tzdb.txt file from my comment.
2.) Rename to tzdb.dat
3.) Put in android asset folder.
4.) Call constructor with custom file parameter: AndroidThreeTen.init(this, "tzdb.dat")
5.) Done!

If you want to generate your own tzdb.dat file, use the tool from oracle.
https://www.oracle.com/technetwork/java/javase/documentation/tzupdater-readme-136440.html

from threetenabp.

JakeWharton avatar JakeWharton commented on July 22, 2024

This project tracks the TZDB from ThreeTenBP. If you would like a new TZDB and a release, the first step is to land it in that project.

Additionally, since version 1.2.0 you can embed your own TZDB in your assets and use the two-argument constructor.

from threetenabp.

yccheok avatar yccheok commented on July 22, 2024

@JakeWharton

Do you mean we can pick up this file without modification, and place it in our own project as asset?

https://github.com/ThreeTen/threetenbp/blob/master/src/main/resources/org/threeten/bp/TZDB.dat

But, according to ThreeTen/threetenbp#106 , the pointed TZDB is not yet updated with Brazil latest DST change.

from threetenabp.

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.