Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15460686
D15725.id37892.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
546 B
Referenced Files
None
Subscribers
None
D15725.id37892.diff
View Options
diff --git a/webroot/rsrc/js/core/behavior-time-typeahead.js b/webroot/rsrc/js/core/behavior-time-typeahead.js
--- a/webroot/rsrc/js/core/behavior-time-typeahead.js
+++ b/webroot/rsrc/js/core/behavior-time-typeahead.js
@@ -136,7 +136,10 @@
}
end_minutes = end_time%60;
- end_minutes = (end_minutes < 9) ? end_minutes : ('0' + end_minutes);
+ if (end_minutes > 9 || end_minutes === 0) {
+ end_minutes = '0' + end_minutes;
+ }
+
end_value = end_hours + ':' + end_minutes + ' ' + end_meridian;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 2, 1:12 AM (6 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7716424
Default Alt Text
D15725.id37892.diff (546 B)
Attached To
Mode
D15725: Time controls should format end date value correctly (not 5:0 PM)
Attached
Detach File
Event Timeline
Log In to Comment