- Timestamp:
- 10/15/2026 07:29:29 PM (3 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roxyapi/trunk/src/Generated/Forms/CalculatePersonalDayForm.php
r3747703 r3749195 19 19 20 20 public static function spec(): array { 21 $labels = \RoxyAPI\Generated\FormLabels::for_language( \RoxyAPI\Support\Language::from_locale( determine_locale() ) ); 21 22 return array( 22 23 'operation_id' => 'calculatePersonalDay', 23 24 'title' => __( 'Personal Day', 'roxyapi' ), 24 25 'submit_label' => __( 'Get reading', 'roxyapi' ), 25 ' fold_optional' => true,26 'locations' => array( ), 26 27 'sections' => array( 27 28 … … 30 31 array( 31 32 'name' => 'month', 32 'label' => __( 'Month', 'roxyapi' ),33 'label' => $labels['fields']['month'] ?? 'Month', 33 34 'required' => true, 34 'help' => __( 'Birth month (1-12)', 'roxyapi' ),35 35 'type' => 'integer', 36 36 'min' => 1, 37 37 'max' => 12, 38 'fold' => false, 38 39 ), 39 40 array( 40 41 'name' => 'day', 41 'label' => __( 'Day', 'roxyapi' ),42 'label' => $labels['fields']['day'] ?? 'Day', 42 43 'required' => true, 43 'help' => __( 'Birth day (1-31)', 'roxyapi' ),44 44 'type' => 'integer', 45 45 'min' => 1, 46 46 'max' => 31, 47 'fold' => false, 47 48 ), 48 49 array( 49 50 'name' => 'targetDate', 50 'label' => __( 'Target date', 'roxyapi' ),51 'label' => $labels['fields']['targetDate'] ?? 'Target date', 51 52 'required' => false, 52 'help' => __( 'Target date in YYYY-MM-DD format, in the years 100 to 2100', 'roxyapi' ),53 53 'type' => 'date', 54 'fold' => true, 54 55 ), 55 56 ),
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)