FormatDateTag is just a copy of the default jsp tag, just with a long as
input rather than a date.


On Mon, Feb 24, 2014 at 4:56 PM, alxdarksage <notifications@github.com>wrote:

> In src/main/java/org/sagebionetworks/bridge/webapp/jsp/FormatDateTag.java:
>
> > +			tz = parent.getTimeZone();
> > +		} else {
> > +			// get time zone from configuration setting
> > +			Object obj = Config.find(pc, Config.FMT_TIME_ZONE);
> > +			if (obj != null) {
> > +				if (obj instanceof TimeZone) {
> > +					tz = (TimeZone) obj;
> > +				} else {
> > +					tz = TimeZone.getTimeZone((String) obj);
> > +				}
> > +			}
> > +		}
> > +
> > +		return tz;
> > +	}
> > +}
>
> If we're using the HTML 5 date component, is this necessary? I think some
> (at least) of what you're doing will be handled by that control,
> appropriate for mobile/desktop. (Localization, setting the starting week of
> the picker, etc.)
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/Sage-Bionetworks/Bridge/pull/94/files#r10019779>
> .
>