handle time and layout in Dates+solution

Update the editor to something that handles times, while remaining simple if all you care about is day.

 

Store the time/date in some standard way that allows going at least ~100+ years in the past (handling all living people's birth dates), and well into the future.

 

Conveniently, we have a formatting system, so let's expose the chunks in cards and use that!

  • Date+*year = 2010, 2011, ... (Number)
  • Date+*month = January, February ... (Phrase, and optionally via setting: Jan, Feb, ...)
  • Date+*day =1, 2, 3, ... (Number, or Phrase and optionally via setting: 01, 02, ...)
  • Date+*dayname = Monday, Tuesday, ... (Phrase, and optionally via setting: Mon, Tue, ...)
  • Date+*hour = 12, 1, 2, ..., 11 (Phrase and optionally via setting: 0, 1, ..., 23)
  • Date+*ampm = AM, PM (wish we had calculation cards to mess with case on these; could do a setting :-P )
  • Date+*minute = 01, 02, ..., 59
  • Date+*second = 01, 02, ..., 59

In English, something like:

Date+*display:

...resulting in: Monday, May 10, 1:49 PM 2010

 

Note that if it's Basic, Wagn should treat it like a form (i.e., show the markup even when viewing as content/open/closed). If it's a Pointer, Wagn should treat cards in the Pointer like they're forms.