Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Time and Date
Re: food for thought [was: Time and Date] [message #11290 is a reply to message #11283] Fri, 31 August 2007 12:38 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
ebojd wrote on Thu, 30 August 2007 18:38

Anyway, food for thought.

A feast Smile

I agree with both of you. It's definitely impractical to fundamentally change the current Date/Time structure - besides the large amount of work this would break far to much code - and I agree that it's futile attempting to devise a design that is going to be applicable to all situations.

My concern really originates from the fact that currently Upp handles this issue is a very unfriendly way. EditTime in particular doesn't do what you'd expect it to and is essentially useless (I can't think of any reason why you would want to use it instead of two seperate Time/Date fields). And because of the EditField/Convert concept the reason and solution to this is not obvious to new users.

Do you think it would be feasible to change EditTime to return the number of seconds and only accept times? The change is easy to make, but does anyone already use it?

I know this a relatively minor issue, but I've got a bee in bonnet about it now, and I think it's in everyone interest to make Upp as good and easy to learn as possible. Smile

James

EDIT: Changed my mind obout some stuff...

[Updated on: Fri, 31 August 2007 14:47]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NTL vs STL compatibility
Next Topic: 2 small Bugs [bug]
Goto Forum:
  


Current Time: Fri Aug 29 04:01:57 CEST 2025

Total time taken to generate the page: 0.05866 seconds