captbaritone / captbaritone/datejs
Datejs should allow changing the locale during the execution.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
In some applications, it is useful to change the locale dynamically (for
example when the user changes its user preferences).
This should be trivial, the only problem is that Datejs uses a shorcut to
access the CultureInfo ($C = $D.CultureInfo) object that makes this impossible
(you can't reload the core module neither, that will produce infinite loops in
some functions).
I simply removed that shortcut, here is a patch, please merge it, that would be
useful.
```
Original issue reported on code.google.com by `n...@openerp.com` on 22 Aug 2011 at 3:14
Attachments:
- [locale-hot-swap.diff](https://storage.googleapis.com/google-code-attachments/datejs/issue-130/comment-0/locale-hot-swap.diff)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.