Comments (4)
Hey Sam,
I like the work you've done here. Merging XDate and timezone-js makes all
the sense in the world.
I was the first to writer a Node preparser for the Olson data, but I did my
work in a branch (uber/timezone-js), these guys gave me commit access to
the main project, but I slacked off when it came time to getting it merged
and another very well done implementation made its way in instead.
I don't want to speak for the true timezone-js guys, but my workload is
going to allow a bit of bandwidth these days, so maybe it makes sense for
us all to circle up with the XDate guys and see about pulling all of this
together.
Where's everybody else at?
Thanks,
Ryan McKillen
On Mon, Aug 20, 2012 at 3:22 AM, Sam Lown [email protected] wrote:
Over the weekend I hacked together a version of timezone-js with similar
usage to XDate with the same formatting and locale support. To make it a
bit easier to use and differentiate, I renamed it TZDate.It's essentially a proof of concept and aims resolve the timezone problems
I was having with XDate. It seems to be working well, timezoneJS's awesome
timezone support with XDate's nice API and formatting makes things quite a
bit easier.I'm really not sure if this is a direction you would be interested in
going in, it certainly isn't very compatible with current timezoneJS
setups, but the source code is available here should you want to have a
look: https://github.com/samlown/tzdateCheers, sam
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/43.
— RM
from timezone-js.
I'd love to explore more on this front but finding myself also very swamped these days >.< Extending this to support similar XDate functionalities makes sense. I'll try to make time to take a look at it!
There're also remaining bugs in the library itself that I wanna square away before looking at extending functionalities. Those bugs are edge cases which are not high priority but they still exist.
from timezone-js.
With that said if you guys can help out with the bugs that'd be awesome!!!
from timezone-js.
FWIW, the date utilities in the Utilities library for Node were originally written to go hand-in-glove with timezoneJS.Date: https://github.com/mde/utilities/blob/master/lib/date.js There are the usual suspects like strftime and diff/add. I'm not sure how nicely the newer parse
will play with timezone-enabled dates, but everything else should be plug-and-play. The important thing here is that if possible, it's good to have utilities that can work with both overridden, special Date objects, and also generic Dates your code might have to accept in other areas of your code.
from timezone-js.
Related Issues (20)
- setTime unable to progress over DST start (NZST to NZDT) HOT 1
- Invalid region for some timezones HOT 4
- Browserify require timezone-js raise uncaught error HOT 4
- getTimezoneOffset() does not work with DST HOT 2
- Does not work with UTC reliably around DST changes in local timezone HOT 3
- date.setMonth() on a date outputs wrong month HOT 5
- Error: Timezone 'Europe/Copenhagen' is either incorrect, or not loaded in the timezone registry. HOT 1
- Timezone incorrect or not loaded in the timezone registry HOT 1
- incorrect timezone abbreviations HOT 2
- DST problem after upgrading HOT 1
- toISOString returns incorrect value near (but not during) DST change HOT 1
- Incorrect time transition moment HOT 1
- timezoneJS constructor returns wrong offset and timezone HOT 1
- tzdata now available as NPM modules HOT 3
- invalid date HOT 1
- missing timezone names HOT 1
- Error while setting up with Olson files (missing file) HOT 1
- Failure for years < 100 AD HOT 3
- Wrong date conversion for certain years in daylight saving time HOT 1
- Wrong Date conversion for the years below 1947 in Kuwait Timezone(UTC+3). HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timezone-js.