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 » Date limited to 2020 and 2015 does not work ?!?
Re: Date limited to 2020 and 2015 does not work ?!? [message #30062 is a reply to message #30034] Mon, 06 December 2010 09:10 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
mirek wrote on Sat, 04 December 2010 20:07

mr_ped wrote on Fri, 03 December 2010 04:17

Yep, I would suggest to remove the fallback completely.
(i.e. 20 is really year 20 A.D., not 1920 or 2020)

I think anybody sane already moved to 4 digit year, and others should finally fix their apps, so why not to force them.


Actually, it is more about comfort when entering dates into EditDate..



Yes, but that should be in "presenter" layer IMHO, it's not related to actual datetime type. So in U++ it should be part of EditDate control right in the UI related code, anything more deeper should work with full year. There's another spot in code where it may be handy, during import of external data. Otherwise I think the time_t and 4 digit string is the only acceptable form to work with date internally.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HELPER: Value grouping to ValueArray
Next Topic: NEW: generic Toupel grouper
Goto Forum:
  


Current Time: Mon Jun 17 10:39:30 CEST 2024

Total time taken to generate the page: 0.02001 seconds