Re: Add format future to Phobos date time

2016-11-11 Thread Vladimir Panteleev via Digitalmars-d

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:

https://github.com/CyberShadow/ae/tree/master/utils/time


BTW 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'.


Wow, that's a typo (introduced during a refactoring). I don't 
know how I never noticed that. Fixed now, well spotted.




Re: Add format future to Phobos date time

2016-11-11 Thread Kagamin via Digitalmars-d
On Friday, 11 November 2016 at 06:01:49 UTC, Vladimir Panteleev 
wrote:

https://github.com/CyberShadow/ae/tree/master/utils/time


BTW 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'.


Re: Add format future to Phobos date time

2016-11-10 Thread Vladimir Panteleev via Digitalmars-d

On Friday, 11 November 2016 at 05:56:20 UTC, Suliman wrote:
There is already external lib 
https://github.com/cmays90/datetimeformat


BTW, 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


Add format future to Phobos date time

2016-11-10 Thread Suliman via Digitalmars-d
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.