date-field

https://github.com/aki2o/emacs-date-field.git

git clone 'git://github.com/aki2o/emacs-date-field.git'
1

What's this?

This is a date widget in Emacs.

demo

Install

If use package.el

2014/11/30 It's available by using melpa.

If use el-get.el

2014/11/30 It's available. But, master branch only.

If use auto-install.el

(auto-install-from-url "https://raw.github.com/aki2o/emacs-date-field/master/date-field.el")

Manually

Download date-field.el and put it on your load-path.
- In this case, you need to install each of the following dependency.

Dependency

Configuration

(require 'date-field)

Usage

Create Widget

(widget-create 'date-field)

Optional properties are here.

Control Widget

In default, date-field-keymap is activated on this widget.
It defines the following keys.
- j , n … up active column value. - k , p … down active column value. - h , b … select left column. - l , f … select right column.

Getting/Setting Value

This widget value returns/accepts the format like “yyyy/mm/dd” depends on separator.
Also, A year/month/day property returns a number of that by widget-get.

Tested On

Enjoy!!!