From: Rajeev Ranjan <rajeev.r@samsung.com>
authorRajeev Ranjan <rajeev.r@samsung.com>
Mon, 3 Sep 2012 07:24:20 +0000 (07:24 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Mon, 3 Sep 2012 07:24:20 +0000 (07:24 +0000)
commit071b23efff9e3634060cbc555a364593ec786767
treeb8a228188dc64da7194ec1adfbe0925b61afabda
parent23fdbfcc5d1f50dfd824b95b152c6b38914781d7
From: Rajeev Ranjan <rajeev.r@samsung.com>
Subject: [E-devel] [Patch] [Elementary] elm_datetime widget bug fix:
elm_datetime_field_limit_set() API is not working for min/max boundary
conditions

Hi,
   Please review the attached patch for fixing issue in API
elm_datetime_field_limit_set() for boundary values.
It has been created by Sumanth for datetime widget.

[Issue Details]:
  elm_datetime_field_limit_set() API is not working well for boundary
values.
  [ex: for date, we can't set max limit as 31 and for minute, we can't
set 60 etc..
         - it fails at boundary conditions of Min/Max limit for all
datetime fields.]

[Root cause]:
   Boundary condition checking has not been done in a proper way.

   [Change Description]:
      Boundary checking condition is corrected and the min/max limit
boundary values are included as API input.

Signed-Off-By: Sumanth Krishna (sumanth.m@samsung.com)
Signed-Off-By: Rajeev Ranjan (rajeev.r@samsung.com)
SVN revision: 75958
ChangeLog
src/lib/elm_datetime.c