mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Add function to get relative timestamp up to many years, with unit tests
This commit is contained in:
parent
3c72258521
commit
e96ac0ba7a
5 changed files with 123 additions and 23 deletions
|
|
@ -198,10 +198,19 @@ $lang->unit_meridiem['am'] = 'am';
|
|||
$lang->unit_meridiem['pm'] = 'pm';
|
||||
$lang->unit_meridiem['AM'] = 'AM';
|
||||
$lang->unit_meridiem['PM'] = 'PM';
|
||||
$lang->time_gap['now'] = 'just now';
|
||||
$lang->time_gap['sec'] = '%d second ago';
|
||||
$lang->time_gap['secs'] = '%d seconds ago';
|
||||
$lang->time_gap['min'] = '%d minute ago';
|
||||
$lang->time_gap['mins'] = '%d minutes ago';
|
||||
$lang->time_gap['hour'] = '%d hour ago';
|
||||
$lang->time_gap['hours'] = '%d hours ago';
|
||||
$lang->time_gap['day'] = '%d day ago';
|
||||
$lang->time_gap['days'] = '%d days ago';
|
||||
$lang->time_gap['month'] = '%d month ago';
|
||||
$lang->time_gap['months'] = '%d months ago';
|
||||
$lang->time_gap['year'] = '%d year ago';
|
||||
$lang->time_gap['years'] = '%d years ago';
|
||||
$lang->about_tag = 'You may submit multiple tags by inserting commas(,) between tags.';
|
||||
$lang->about_layout = 'Layouts decorate the appearance of your content. You can configure them from the Layout menu on the top.';
|
||||
$lang->about_ipaddress_input = 'IP address input format<br />You can use wildcard(*) (ex: 192.168.0.*)<br />You can use hyphen(*) for ip range (you can\'t use wild card with hyphen, ex: 192.168.0.1-192.168.0.254)<br />';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue