Included time library to set current date in date picker

This commit is contained in:
severin
2014-01-11 00:19:04 +01:00
parent 2fb0d73439
commit ee473d8844
2 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ feature {NONE} -- Initialization
do
make_multi_control_with_tag_name (t)
add_class ("input-group date")
create input.make ("10-09-2013")
create input.make ((create {DATE_TIME}.make_now).formatted_out ("[0]dd-[0]mm-yyyy"))
input.add_class ("form-control")
input.append_attribute ("size=%"16%" readonly=%"%"")
add_control (input)

View File

@@ -14,9 +14,9 @@
<library name="http" location="..\..\..\library\network\protocol\http\http-safe.ecf"/>
<library name="json" location="..\..\..\contrib\library\text\parser\json\library\json-safe.ecf"/>
<library name="pcre" location="$ISE_LIBRARY\unstable\library\text\regexp\pcre\pcre-safe.ecf"/>
<library name="time" location="$ISE_LIBRARY\library\time\time-safe.ecf"/>
<library name="uri_template" location="..\..\..\library\text\parser\uri_template\uri_template-safe.ecf"/>
<library name="wsf" location="..\..\..\library\server\wsf\wsf-safe.ecf"/>
<cluster name="kernel" location=".\kernel\" recursive="true">
</cluster>
<cluster name="kernel" location=".\kernel\" recursive="true"/>
</target>
</system>