Updated docs to match reality, where drafts are dated based on file modification time
See 8e7b6bf5ff/lib/jekyll/draft.rb (L28) -- source uses `File.mtime` on the draft file, not `Time.now` as the doc says.
			
			
This commit is contained in:
		
							parent
							
								
									3eed1cfed1
								
							
						
					
					
						commit
						b5437a49fb
					
				| 
						 | 
				
			
			@ -17,6 +17,5 @@ first draft:
 | 
			
		|||
{% endhighlight %}
 | 
			
		||||
 | 
			
		||||
To preview your site with drafts, simply run `jekyll serve` or `jekyll build` with
 | 
			
		||||
the `--drafts` switch.  Each will be assigned the value of `Time.now`
 | 
			
		||||
for its date, and thus you will see them generated as the latest posts.
 | 
			
		||||
 | 
			
		||||
the `--drafts` switch.  Each will be assigned the value modification time of the draft file
 | 
			
		||||
for its date, and thus you will see currently edited drafts as the latest posts.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue