Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow format strings to be added #3
Comments
|
Great initiative for doing this package. Important feature in format strings context: some languages/localization (e.g., Hebrew) specify date in |
|
Same with many European formats which do, say, But this (famously) clashes with what North America does in its (braindead, but prevalent) You can pre-load formats in the next version: R> anytime:::addFormat("%d.%m.%Y") # Europe
R> anytime("10.11.2012")
[1] "2012-11-10 CST"
R> If you can work out how localization could help at the C++ level offered by Boost I'd be interested. Otherwise it is the "same old" issue also plagueing |
|
Good news: Boost has I plan to test that. |
|
Format strings can now be added. |
|
Awesome, thanks! |
Would allow to overcome the currently fixed set for odd formats like
%yfor two-digit year, or even%I %pfor 12 hour time and am/pm,