Skip to content
Browse files

edited README

  • Loading branch information...
1 parent 5474696 commit c1b76803367b709748622b0c0a10dfbad06bc032 @khebbie committed
Showing with 21 additions and 2 deletions.
  1. +21 −2 README
View
23 README
@@ -1,8 +1,27 @@
Prototime is an extension to DateTime for .Net intented for making formating easier.
-The way it works is that you give an example of how you want the code formatted, instead of the weird cult of dd MMM HH:mm:ss
+The way it works is that you give an example of how you want the code formatted, instead of the weird cult of dd MMM Hmss
So instead of 'd MMM yyyy' you would write this example '15 Jun 2008' and get a string formatted accordingly.
+Use these examples...
+ 6/15/2008
+ Sunday, June 15, 2008
+ Sunday, June 15, 2008 9:15 PM
+ Sunday, June 15, 2008 9:15:07 PM
+ 6/15/2008 9:15 PM
+ 6/15/2008 9:15:07 PM
+ June 15
+ 2008-06-15T21:15:07.0000000
+ Sun, 15 Jun 2008 21:15:07 GMT
+ 2008-06-15T21:15:07
+ 9:15 PM
+ 9:15:07 PM
+ 2008-06-15 21:15:07Z
+ Monday, June 16, 2008 4:15:07 AM
+ June, 2008
+
+
+This is still software in pre-alpha
Prototime is inspired by Stamp for Ruby
-https://github.com/jeremyw/stamp
+httpgithub.com/jeremyw/stamp

0 comments on commit c1b7680

Please sign in to comment.
Something went wrong with that request. Please try again.