Index: openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl,v diff -u -r1.18 -r1.19 --- openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl 7 Jan 2008 17:32:06 -0000 1.18 +++ openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl 9 Aug 2008 12:19:33 -0000 1.19 @@ -1,7 +1,5 @@ -# /tcl/ecommerce-widgets.tcl - ad_library { - Definitions for the ecommerce module + Widget definitions for the ecommerce module @author Eve Andersson (eveander@arsdigita.com) @creation-date April, 1999 @cvs-id $Id$ @@ -577,10 +575,15 @@ } { Just like country_widget, except it's not United States centric. } { - + # comparing iso value with locale, we may be able to generalize this: + if {[string equal [lang::user::locale] "en_US"] && $default == ""} { + set default "US" + } set widget_value " - + + through [ad_dateentrywidget end_date $end_date] - - + + " }