25 lines
461 B
Text
25 lines
461 B
Text
|
|
snippet date "YYYY-MM-DD" w
|
||
|
|
`!v strftime("%Y-%m-%d")`
|
||
|
|
endsnippet
|
||
|
|
|
||
|
|
snippet ddate "Month DD, YYYY" w
|
||
|
|
`!v strftime("%b %d, %Y")`
|
||
|
|
endsnippet
|
||
|
|
|
||
|
|
snippet diso "ISO format datetime" w
|
||
|
|
`!v strftime("%Y-%m-%d %H:%M:%S%z")`
|
||
|
|
endsnippet
|
||
|
|
|
||
|
|
snippet time "hh:mm" w
|
||
|
|
`!v strftime("%H:%M")`
|
||
|
|
endsnippet
|
||
|
|
|
||
|
|
snippet datetime "YYYY-MM-DD hh:mm" w
|
||
|
|
`!v strftime("%Y-%m-%d %H:%M")`
|
||
|
|
endsnippet
|
||
|
|
|
||
|
|
snippet uuid "Random UUID" w
|
||
|
|
`!p if not snip.c: import uuid; snip.rv = uuid.uuid4()`
|
||
|
|
endsnippet
|
||
|
|
|