Comments (3)
formats
is covered by #14. Still need to investigate timeZone
. Is timeZone
necessary for timestamp numbers as dates or do they have a defined time zone?
from next-intl.
Handling the timeZone
is indeed interesting. A server request doesn't include this information, therefore ideally we'd use a setting saved in the user profile or otherwise information from GeoIP. Both can not be known by this library, therefore the user should provide this.
from next-intl.
On the client side this is different. E.g. when the user provides a time via a date picker for example, we can typically read the timezone of the user and add it to the date. Not sure yet if that affects this library, as during render only timezone-aware dates should be used. In the change handler of a date picker a timezone can be added immediately.
from next-intl.
Related Issues (20)
- Add Messages in ALL pages using next 12 HOT 1
- [Docs]: Typescript instructions should include ECMAScript Modules HOT 1
- use-intl is not working properly with React Native HOT 3
- Add support for "zero" "one" etc tags in plural HOT 3
- Support single-language workflow in App Router HOT 1
- Ahead-of-time compilation of messages
- There is an issue in the defaultLocale HOT 1
- Switch locale with nested params route HOT 1
- Importing Messages during runtime HOT 2
- How to use API requests on the side? HOT 3
- Prevent useTranslations being triggered on prefetch HOT 1
- Expose serializable `useFormats` HOT 5
- Support regional information in `select` arguments HOT 1
- Type error: Individual declarations in merged declaration 'Pathnames' must be all exported or all local. HOT 2
- After updating to v3.11.1 rewrite/redirects append a port to the URL HOT 9
- Route intercept does not work with generateStaticParams in layout HOT 1
- Add support for partially translated routes HOT 1
- @typescript-eslint errors in `i18n.ts` HOT 1
- [Docs]: `global.d.ts` should not include an interface declaring no members HOT 1
- [Error]: ENVIRONMENT_FALLBACK | code: 'ENVIRONMENT_FALLBACK', | originalMessage: undefined HOT 6
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 next-intl.