ba-st / chalten Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mtaborda/chalten
This is a time model that allows to use dates, months, years, etc. in an easy way.
License: MIT License
This project forked from mtaborda/chalten
This is a time model that allows to use dates, months, years, etc. in an easy way.
License: MIT License
At least that's what Iceberg tells me. The repository should be updated to use... whatever is the replacement for the SHA-1 keys.
EDIT: I might also be wrong, I removed it from my Baseline, yet Iceberg still complains. Oh well.
According to the Chalten paper, reducing should be built-in but doesn't currently seem to work. It seems this used to work... ==10 years * 12 months / 24 months = 5 years== “The model automatically simplifies units”... Anyone know why it was changed?
Chalten seems to sidestep the terrible Pharo TZ bug for Dates, because its dates are abstract and not implemented via timestamps. However, it seems to suffer from the same bug with times, which, while at least having the ability to refer to timezones by name, still have the amorphous 'local timezone' concept. The crux of the problem is that the correct offset for a created e.g. DateTime needs to be the offset on the created date, whereas in Pharo/Chalten the offset is set to the today's offset. These can be different since the local TZ offset may vary due to DST. So if DST is in effect now, but not on the created date, the offset will be wrong. I don't see an easy way to resolve this bug and feel strongly that if timezones can't be implemented correctly, they shouldn't be enabled at all by default. See here for a fuller description of the problem.
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.