Date and time constants

Have an idea for a new feature? Voice your opinion here.
Post Reply
ClaudeT
Member
Posts: 8
Joined: Fri Dec 12, 2003 9:34 pm
Location: Toronto, Canada

Date and time constants

Post by ClaudeT »

Hi,



I'm just experimenting with HouseBot for the first time. I love it.

My suggestion is minor and is easily worked around, but I found it annoying and awkward right from the start...



Is it possible to allow date and time and duration constants to be specified in a more natural and compact way than hours=14, minutes=33, etc in conditions, values, etc.



My suggestion is to allow them to be specified just as you display them... I would enter 14:33 or 2:33pm or 14:33:00 for full times.

I would enter :33 for 33 minutes

I would enter ::30 for 30 seconds.

I would enter yyyy/mm/dd for a date (eg 2003/12/14 or 2003.12.14 or 2003-12-14)

Datetimes would just be combinations: 2003-12-14 4:32:30pm



Minor, I know, and not really a functionality issue, but I thought I would mention it.
ClaudeT
Member
Posts: 8
Joined: Fri Dec 12, 2003 9:34 pm
Location: Toronto, Canada

Post by ClaudeT »

PS. "Millisecond", not "mili-second" :wink:
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

That would be a nice feature, but tricky to implement across the board. Time and dates are stored in a normalized format in the system because different locales can use different time and date formats for display. Although times are fairly consistent (I think), to do the same for dates would be a little more tricky.



I'll add it to the list.



Thanks,

Scott
Post Reply