digitalmars.D - Add format future to Phobos date time
- Suliman (5/5) Nov 10 2016 Date formating is very common operation. Is it's possible to add
- Vladimir Panteleev (5/7) Nov 10 2016 BTW, ae.utils.time supports parsing and formatting, with the
- Kagamin (4/5) Nov 11 2016 BTW what 'C' format specifier means?
- Vladimir Panteleev (3/8) Nov 11 2016 Wow, that's a typo (introduced during a refactoring). I don't
Date formating is very common operation. Is it's possible to add this future to Phobos datetime module? There is already external lib https://github.com/cmays90/datetimeformat but I think that is's much better to have in base lib.
Nov 10 2016
On Friday, 11 November 2016 at 05:56:20 UTC, Suliman wrote:There is already external lib https://github.com/cmays90/datetimeformatBTW, ae.utils.time supports parsing and formatting, with the format string being parse-able both at runtime and compile-time (generating parsing/formatting code for that exact time string). https://github.com/CyberShadow/ae/tree/master/utils/time
Nov 10 2016
On Friday, 11 November 2016 at 06:01:49 UTC, Vladimir Panteleev wrote:https://github.com/CyberShadow/ae/tree/master/utils/timeBTW what 'C' format specifier means? https://github.com/CyberShadow/ae/blob/master/utils/time/format.d#L65 I noticed dfeed uses it too and formatted time stings end with this mysterious 'C'.
Nov 11 2016
On Friday, 11 November 2016 at 08:50:02 UTC, Kagamin wrote:On Friday, 11 November 2016 at 06:01:49 UTC, Vladimir Panteleev wrote:Wow, that's a typo (introduced during a refactoring). I don't know how I never noticed that. Fixed now, well spotted.https://github.com/CyberShadow/ae/tree/master/utils/timeBTW what 'C' format specifier means? https://github.com/CyberShadow/ae/blob/master/utils/time/format.d#L65 I noticed dfeed uses it too and formatted time stings end with this mysterious 'C'.
Nov 11 2016