Casey Dudley
Posts: 0
Joined: Wed Jul 09, 2014 4:48 pm

Date/time sorter

Hey Appery.io,
I am designing an app that allows you to see upcoming events added by a user on a timeline [something like a twitter]. The only issue is that Im having problems setting up date and time to sort to show the upcoming events first on the timeline. The UI tools only have a date picker but not a time picker. How can I effectively set this up to where my list service displays the upcoming events based on the time and date submitted by the user rather than the most recent addition to my database ( _createdAt)

Also in that same nature, with the current system time and the time/date inserted by the user I want to communicate that the event is happening NOW with the words "NOW" on the timeline. What java script code would I use for something like this

Any tips/idea how i should go about this.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Date/time sorter

Hello Casey,

1) You may use the plugin Mobiscroll Date and Time instead of datepicker
2) Using js you may check the date and compare it with the current date. on the scan results add text NOW in the desired item also using js

Casey Dudley
Posts: 0
Joined: Wed Jul 09, 2014 4:48 pm

Date/time sorter

I see the plugin Mobiscroll Datetime, but how do I incorporate a start time end time scenario ?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Date/time sorter

Casey,

Could you please clarify in details what causes difficulties?

Casey Dudley
Posts: 0
Joined: Wed Jul 09, 2014 4:48 pm

Date/time sorter

On the plug in,
it only comes with a date, time and date-time scroll

Im trying to duplicate this Image

to create a start time and end time. How would I duplicate that?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Date/time sorter

Casey,

You should create on page 2 date-time scrolls, one for start time, one for end time

Return to “Issues”