2007-12-31: Minor release with feature enhancements. More...
2007-09-08: Small bug fix release. More...
2007-06-29: Some bug fixes and one small feature enhancement. More...
| Plugin name: | Tag/Date (Tag/Default) |
|---|---|
| Author: | Thomas Leitner <t_leitner@gmx.at> |
| Summary: | Prints out the current date/time in a customizable format |
| Parameters: | format: "%A, %B %d %H:%M:%S %Z %Y" |
| Handled tags: | date |
The date tag is used to display the current time in a specific format (the format of Ruby’s inbuilt method Time#strftime). Have a look a the examples below to see some possible outputs.
| Usage | Output |
|---|---|
| {date:} | Tuesday, October 13 19:12:10 UTC 2009 |
| {date: {format: %Y-%m-%d %H:%M:%S}} | 2009-10-13 19:12:10 |
| {date: {format: %x – %X}} | 10/13/09 – 19:12:10 |