github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/yaml/time/monthday.v1.yaml (about)

     1  title: 月日
     2  desc:
     3  author: zentao
     4  version: 1.0
     5  
     6  field: monthdate
     7  instances:
     8  
     9    - instance: common
    10      note: 普通
    11      prefix:
    12      fields:
    13      - field: month
    14        range: 1{31},2{28},3{31},4{30},5{31},6{30},7{31},8{31},9{30},10{31},11{30},12{31}
    15        format: "%02d"
    16        postfix: ""
    17      - field: day
    18        range: 1-31,1-28,1-31, 1-30,1-31,1-30, 1-31,1-31,1-30, 1-31,1-30,1-31
    19        format: "%02d"
    20  
    21    - instance: with_line
    22      note: 下划线分隔
    23      prefix:
    24      fields:
    25        - field: month
    26          range: 1{31},2{28},3{31},4{30},5{31},6{30},7{31},8{31},9{30},10{31},11{30},12{31}
    27          format: "%02d"
    28          postfix: "-"
    29        - field: day
    30          range: 1-31,1-28,1-31, 1-30,1-31,1-30, 1-31,1-31,1-30, 1-31,1-30,1-31
    31          format: "%02d"
    32  
    33    - instance: chinese
    34      note: 中文日期
    35      prefix:
    36      fields:
    37        - field: month
    38          range: 1{31},2{28},3{31},4{30},5{31},6{30},7{31},8{31},9{30},10{31},11{30},12{31}
    39          format: "%02d"
    40          postfix: "月"
    41        - field: day
    42          range: 1-31,1-28,1-31, 1-30,1-31,1-30, 1-31,1-31,1-30, 1-31,1-30,1-31
    43          format: "%02d"
    44          postfix: "日"