ismnoiet / jekyll-posts-generator

Generate jekyll posts from the terminal
10 stars 5 forks source link

feature request: date added to post #3

Open andy5995 opened 7 years ago

andy5995 commented 7 years ago

I'd like to request that the date be added to the post, under the title

date: 2017-10-30 01:00:00 -0500

I can't make promises about doing this ticket, but I'll keep in mind that PRs are welcome @ismnoiet :)

ismnoiet commented 7 years ago

Great @andy5995, by the way what does -0500 refer to at the end ?

andy5995 commented 7 years ago

That's the UTC offset

To get that from the command line on Linux, I can use date +%F" "%T" "%z

I'm not sure how to do that with JS yet though, but I'm sure I could figure it out.