Export to GitHub

keepnote - issue #600

Enhancement - Add support for ISO 8601 date & time formats


Posted on Mar 30, 2012 by Swift Dog

I would suggest two small enhancements regarding the time and date representation that will be appreciated by users outside north america who are more used to the conventions defined in the international standard ISO 8601:

1) On the date & time preferences, the week-day key (%w) uses numbeers 0..6 starting from Sunday. On the other hand, ISO 8601 uses numbers 1..7 beginning with monday and ending with Sunday.

2) Also on date & time preferences, the week number key (%W) representation uses numbers 00..53 with all days in a new year preceding the first monday to be in week 0. Under ISO 8601, week numbering starts with number 01, corresponding to the week with the year's first Thursday in it.

I think the implementation of two extra formating keys for these variants should be straighforward and very convenient for international users.

For more information see: http://en.wikipedia.org/wiki/ISO_8601

Thanks and keep up the good work!

Comment #1

Posted on Apr 11, 2012 by Quick Elephant

Thanks for this very informative feedback. FYI, My date format keys come straight from python's definitions:

time.strftime http://docs.python.org/library/time.html

Comment #2

Posted on Jul 30, 2012 by Helpful Lion

The format for the insert date function can be changed by editing the file:

$HOME/.config/keepnote/extensions_data/editor_insert_date/config

For Linux obviously, I have no idea where this would be found in windows.

Status: New

Labels:
Type-Enhancement Priority-Medium