mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
dfe375e87e
* Fix MemberDatetime helper description, and shifted them to templates * added descriptionTemplate for setting the description * Unit test for description with templates
22 lines
1.5 KiB
Scheme
22 lines
1.5 KiB
Scheme
<a href="#" class="toggle">
|
|
<% _t('MemberDatetimeOptionsetField.Toggle', 'Show formatting help') %>
|
|
</a>
|
|
<ul class="toggle-content">
|
|
<li>YYYY = <% _t('MemberDatetimeOptionsetField.FOURDIGITYEAR', 'Four-digit year',
|
|
40, 'Help text describing what "YYYY" means in ISO date formatting') %></li>
|
|
<li>YY = <% _t('MemberDatetimeOptionsetField.TWODIGITYEAR', 'Two-digit year',
|
|
40, 'Help text describing what "YY" means in ISO date formatting') %></li>
|
|
<li>MMMM = <% _t('MemberDatetimeOptionsetField.FULLNAMEMONTH', 'Full name of month (e.g. June)',
|
|
40, 'Help text describing what "MMMM" means in ISO date formatting') %></li>
|
|
<li>MMM = <% _t('MemberDatetimeOptionsetField.SHORTMONTH', 'Short name of month (e.g. Jun)',
|
|
40, 'Help text letting describing what "MMM" means in ISO date formatting') %></li>
|
|
<li>MM = <% _t('MemberDatetimeOptionsetField.TWODIGITMONTH', 'Two-digit month (01=January, etc.)',
|
|
40, 'Help text describing what "MM" means in ISO date formatting') %></li>
|
|
<li>M = <% _t('MemberDatetimeOptionsetField.MONTHNOLEADING', 'Month digit without leading zero',
|
|
40, 'Help text describing what "M" means in ISO date formatting') %></li>
|
|
<li>dd = <% _t('MemberDatetimeOptionsetField.TWODIGITDAY', 'Two-digit day of month',
|
|
40, 'Help text describing what "dd" means in ISO date formatting') %></li>
|
|
<li>d = <% _t('MemberDatetimeOptionsetField.DAYNOLEADING', 'Day of month without leading zero',
|
|
40, 'Help text describing what "d" means in ISO date formatting') %></li>
|
|
</ul>
|