Comments (6)
hi Ferdi, yup! never did this properly. it should be pretty easy to do. #6
i'm going on vacation this week, so unless you figure it out, i'll look at it when i get back next week
from spacetime.
hey, so if you're one step north of the equator in august, it's summer, but you take a step south and it's winter? never thought about how dumb this is.
from spacetime.
Well, places that are equatorial don't really experience seasons like the folks smack dab in the middle of hemispheres do. So the answer is yes, technically, but not practically.
from spacetime.
Indeed! Though, I think it may be better to rather remove this functionality than attempt to support it.
That is, unless you'd like to keep a list of all countries, but as @ryanblock said, seasons are meaningless for countries near the equator.
from spacetime.
hey Ferdi, this works now in v1.3
check it out here https://runkit.com/spencermountain/59a089ff4f689d0012aef498
cheers
from spacetime.
I don't think this is working properly, we've just switched over to Summer here in Australia (Dec 1st) and the package is reporting Winter. Yesterday however it was reporting Spring, so i'm not sure how it goes from Spring to Winter?
from spacetime.
Related Issues (20)
- Season is incorrect here in Australia HOT 4
- Unable to calculate days difference HOT 2
- Running "npm test" does not work in windows HOT 2
- [Typescript] Could not find declaration file for module 'spacetime' HOT 7
- few DST tests failing from Europe/Berlin HOT 3
- iso() method is typed to return a number? HOT 2
- Support for Asia/Famagusta (DayLight plugin) HOT 1
- 'etc/unknown' timezone should fall back on UTC HOT 3
- s.diff(d, 'days') is off by one HOT 4
- Unable to chain .i18n() with .format() methods HOT 1
- Unexpected results near DST 2023 boundaries (Europe/Helsinki) HOT 4
- Month number is always -1 HOT 3
- ISO offset vs IANA code ambiguities HOT 5
- DST Result for "Asia/Tehran" is wrong HOT 1
- [Typescript] Could not find declaration file for module 'spacetime' HOT 1
- dayOfYear in leap years HOT 3
- Failing timezone conversion from Zulu to Europe/Rome HOT 1
- Times of the day seem illogical HOT 9
- week function not working correctly HOT 8
- Specific date is not getting the correct epoch 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 spacetime.