Feature #1997
closedAdd date picker to the Custom RRD graph page to translate to unix time.
90%
Description
The current custom rrd graph page needs a startdate and enddate in unix time. This really needs a date picker that sets the unix time to be intuitive and easy to use.
Updated by Seth Mos about 13 years ago
Possible candidate.
http://morecavalier.com/index.php?whom=Apps%2FUnix+timestamp+converter
Updated by Simon Fong about 13 years ago
That is an EXCELLENT converter, probably the BEST and ONLY one which allows for free-form (eg. 11/9/2011 12:15:59) input of time string, and can also take into account for both UTC and/or GMT timezones. All others requires separate fields for input and only has code for UTC times.
Updated by Chris Buechler over 12 years ago
- Tracker changed from Bug to Feature
- Status changed from New to Assigned
- Assignee set to Darren Embry
- Affected Version deleted (
2.1-IPv6)
Updated by Darren Embry over 12 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Input fields are now freeform. I went with PHP's strtotime() function for freeform input. It understands time zones and everything.
https://github.com/bsdperimeter/pfsense/commit/59418ceef6ffa89a9da38f4d4a1251dc73d5c05f
Updated by Jim Pingle over 12 years ago
Would still be nice to have a JS Date Picker in the GUI end so people don't have to type it out. Clicking around a calendar is a lot easier. :-)
Updated by Darren Embry over 12 years ago
Okay we have a datepicker now:
https://github.com/bsdperimeter/pfsense/commit/ce49a7c9f2781bda704e4e561026b5e445ab1fcb
Hope the jQuery UI theme I selected matches pfSense closely enough. :-)
Updated by Darren Embry over 12 years ago
- Status changed from Resolved to Feedback
- % Done changed from 100 to 90
Updated by Simon Fong over 12 years ago
I hope the date picker will have the ability to accurately "pick" hours, minutes, and seconds rather than rounding to nearest hour/minute or so.
Also I like how some apps on smartphones/tablets allows for BOTH freeform/keyboard AND calendar/GUI picking.
Just curious, during Daylight Savings Time Change, does pfSense's RRD graphs discard or keeps, the added OR subtracted hour of data?
Updated by Darren Embry over 12 years ago
I can't speak for daylight saving time handling but the rest of your needs are fit by this.
http://trentrichardson.com/examples/timepicker/
See that for a demo. It's pretty customizable.
Updated by Chris Buechler over 12 years ago
- Status changed from Feedback to Resolved
this is fixed, looks good.
Simon - this isn't the place for OT questions, please post to the forum or list.