Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (13 sloc) 355 Bytes
#!/usr/bin/ruby
# Dropzone Destination Info
# Name: Date & Time
# Description: Displays the current date and time and copies it to the clipboard.
# Events: Clicked
# Creator: Paul William
# URL: http://entropytheblog.com
# IconURL: http://aptonic.com/destinations/icons/clock.png
def clicked
date = `date`.strip
$dz.finish(date)
$dz.url(date)
end