Home Download Buy Blog Forum Support

InsertDate - About inserting the current date or time

InsertDate - About inserting the current date or time

Postby FichteFoll on Thu Jun 14, 2012 7:26 pm

I wrote this plugin a while ago which will insert the current (local) date or time into the view. It supports multiple selections, replacing selected text and has a variety of options like specifying the format string and binding that to a key combination.
Additionally I included the pytz lib to support named timezones. There are a bunch of examples how to use them.

I might look a bit complicated at first sight, but people using Sublime Text should get its usability soon enough.

There is also a popup with a few default configurations that you can modify in the settings that looks as follows:
Image

Link: https://github.com/FichteFoll/sublimetext-insertdate
Of course it's also available on Package Control.
Last edited by FichteFoll on Tue Aug 12, 2014 8:42 pm, edited 1 time in total.
FichteFoll
 
Posts: 402
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

Re: InsertDate - About inserting the current date or time

Postby FichteFoll on Mon Feb 24, 2014 1:03 am

So, I just now remembered that I actually created a thread for this plugin here, so I'd like to use this to announce that InsertDate got an update some time ago.

Notable features:
- ST3 compatible
- Configurable dropdown list of commonly used formats and timezones with preview, replaces the old standard operation on "f5". Have a screenshot: http://i.imgur.com/57S5iH2.png

Keybindings: https://github.com/FichteFoll/sublimete ... ime-keymap (replace "ctrl" with "super" on OSX).
FichteFoll
 
Posts: 402
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

Re: InsertDate - About inserting the current date or time

Postby facelessuser on Mon Feb 24, 2014 2:57 am

This has to be the most complete insert date plugin I have seen. Quite configurable. I'm going to check this out. Wonder how I missed this...
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Re: InsertDate - About inserting the current date or time

Postby FichteFoll on Tue Aug 12, 2014 8:45 pm

Just pushed an update to this (and updated the ancient start post).

The most changes are minor, but I updated the default configurations in the popup and added some more commands to the command palette, as I feel every plugin should provide.
FichteFoll
 
Posts: 402
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany


Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot] and 10 guests