File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ describe('locale', () => {
2626 } ,
2727 } )
2828
29- expect ( l . getTemplate ( 'year' , 'minute' , 'any' , 'text' ) ) . toBe ( 'every {{field.id}} ' )
29+ expect ( l . getTemplate ( 'year' , 'minute' , 'any' , 'text' ) ) . toBe ( 'every minute ' )
3030 expect ( l . getTemplate ( 'year' , 'dayOfWeek' , 'value' , 'prefix' ) ) . toBe ( 'and' )
3131 expect ( l . getTemplate ( 'year' , 'minute' , 'range' , 'prefix' ) ) . toBe ( ':' )
3232 expect ( l . getTemplate ( 'custom' , 'foo' ) ) . toBe ( 'bar' )
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ const locale: Localization = {
66 suffix : '' ,
77 text : 'Unknown' ,
88 '*' : {
9- any : { text : 'every {{field.id}}' } ,
109 value : { text : '{{value.text}}' } ,
1110 range : { text : '{{start.text}}-{{end.text}}' } ,
1211 step : { text : 'every {{step.value}}' } ,
@@ -15,13 +14,15 @@ const locale: Localization = {
1514 } ,
1615 month : {
1716 '*' : { prefix : 'in' } ,
17+ any : { text : 'every month' } ,
1818 value : { text : '{{value.alt}}' } ,
1919 range : { text : '{{start.alt}}-{{end.alt}}' } ,
2020 rangeStep : { text : '{{start.alt}}-{{end.alt}}/{{step.value}}' } ,
2121 stepFrom : { text : '{{start.alt}}/{{step.value}}' } ,
2222 } ,
2323 day : {
2424 '*' : { prefix : 'on' } ,
25+ any : { text : 'every day' } ,
2526 noSpecific : {
2627 text : 'no specific day' ,
2728 } ,
@@ -39,12 +40,15 @@ const locale: Localization = {
3940 } ,
4041 hour : {
4142 '*' : { prefix : 'at' } ,
43+ any : { text : 'every hour' } ,
4244 } ,
4345 minute : {
4446 '*' : { prefix : ':' } ,
47+ any : { text : 'every minute' } ,
4548 } ,
4649 second : {
4750 '*' : { prefix : ':' } ,
51+ any : { text : 'every second' } ,
4852 } ,
4953 } ,
5054 minute : {
You can’t perform that action at this time.
0 commit comments