mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
get system timezone (#6193)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
This commit is contained in:
parent
854eed70ba
commit
0a61914124
|
@ -49,6 +49,12 @@
|
||||||
"globalMacros": []
|
"globalMacros": []
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"strict_sql": false,
|
||||||
|
"cds_comment_style": true,
|
||||||
|
"change_if_to_case": false,
|
||||||
|
"expand_macros": true,
|
||||||
|
"unnecessary_return": false,
|
||||||
|
"fully_type_itabs": false,
|
||||||
"cds_legacy_view": true,
|
"cds_legacy_view": true,
|
||||||
"superfluous_value": true,
|
"superfluous_value": true,
|
||||||
"classic_exceptions_overlap": true,
|
"classic_exceptions_overlap": true,
|
||||||
|
|
|
@ -26,12 +26,12 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@abaplint/cli": "^2.95.50",
|
"@abaplint/cli": "^2.97.4",
|
||||||
"@abaplint/database-sqlite": "^2.5.39",
|
"@abaplint/database-sqlite": "^2.5.39",
|
||||||
"@abaplint/runtime": "^2.5.60",
|
"@abaplint/runtime": "^2.5.76",
|
||||||
"@abaplint/transpiler-cli": "^2.5.60",
|
"@abaplint/transpiler-cli": "^2.5.76",
|
||||||
"abapmerge": "^0.15.0",
|
"abapmerge": "^0.15.0",
|
||||||
"c8": "^7.13.0",
|
"c8": "^7.13.0",
|
||||||
"eslint": "^8.36.0"
|
"eslint": "^8.37.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -293,13 +293,21 @@ CLASS zcl_abapgit_gui_chunk_lib IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD class_constructor.
|
METHOD class_constructor.
|
||||||
|
|
||||||
CALL FUNCTION 'GET_SYSTEM_TIMEZONE'
|
DATA lv_fm TYPE string.
|
||||||
IMPORTING
|
lv_fm = 'GET_SYSTEM_TIMEZONE'.
|
||||||
timezone = gv_time_zone
|
|
||||||
EXCEPTIONS
|
TRY.
|
||||||
customizing_missing = 1
|
CALL METHOD ('CL_ABAP_TSTMP')=>get_system_timezone
|
||||||
OTHERS = 2.
|
RECEIVING
|
||||||
ASSERT sy-subrc = 0.
|
system_timezone = gv_time_zone.
|
||||||
|
CATCH cx_sy_dyn_call_illegal_method.
|
||||||
|
CALL FUNCTION lv_fm
|
||||||
|
IMPORTING
|
||||||
|
timezone = gv_time_zone
|
||||||
|
EXCEPTIONS
|
||||||
|
customizing_missing = 1
|
||||||
|
OTHERS = 2.
|
||||||
|
ENDTRY.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
|
@ -97,8 +97,6 @@
|
||||||
|
|
||||||
{"object": "ZCL_ABAPGIT_PERSIST_PACKAGES", "class": "ltcl_packages", "method": "test_package", "note": "ZABAPGIT table not existing, error cx_sy_dynamic_osql_semantics"},
|
{"object": "ZCL_ABAPGIT_PERSIST_PACKAGES", "class": "ltcl_packages", "method": "test_package", "note": "ZABAPGIT table not existing, error cx_sy_dynamic_osql_semantics"},
|
||||||
|
|
||||||
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_json_to_abap", "method": "to_abap_array_of_arrays", "note": "Expected table to contain 2 rows, got 4"},
|
|
||||||
|
|
||||||
{"object": "ZCL_ABAPGIT_REQUIREMENT_HELPER", "class": "ltcl_lower_release", "method": "empty_patch", "note": "Void type: CVERS_SDU"},
|
{"object": "ZCL_ABAPGIT_REQUIREMENT_HELPER", "class": "ltcl_lower_release", "method": "empty_patch", "note": "Void type: CVERS_SDU"},
|
||||||
{"object": "ZCL_ABAPGIT_REQUIREMENT_HELPER", "class": "ltcl_lower_release", "method": "lower_patch", "note": "Void type: CVERS_SDU"},
|
{"object": "ZCL_ABAPGIT_REQUIREMENT_HELPER", "class": "ltcl_lower_release", "method": "lower_patch", "note": "Void type: CVERS_SDU"},
|
||||||
{"object": "ZCL_ABAPGIT_REQUIREMENT_HELPER", "class": "ltcl_lower_release", "method": "same_patch", "note": "Void type: CVERS_SDU"},
|
{"object": "ZCL_ABAPGIT_REQUIREMENT_HELPER", "class": "ltcl_lower_release", "method": "same_patch", "note": "Void type: CVERS_SDU"},
|
||||||
|
@ -154,8 +152,6 @@
|
||||||
{"object": "ZCL_ABAPGIT_FILE_DESERIALIZE", "class": "ltcl_prio_deserialization", "method": "xslt_before_clas", "note": "hmm, something with promises?"},
|
{"object": "ZCL_ABAPGIT_FILE_DESERIALIZE", "class": "ltcl_prio_deserialization", "method": "xslt_before_clas", "note": "hmm, something with promises?"},
|
||||||
{"object": "ZCL_ABAPGIT_FILE_DESERIALIZE", "class": "ltcl_prio_deserialization", "method": "xslt_before_prog", "note": "hmm, something with promises?"},
|
{"object": "ZCL_ABAPGIT_FILE_DESERIALIZE", "class": "ltcl_prio_deserialization", "method": "xslt_before_prog", "note": "hmm, something with promises?"},
|
||||||
|
|
||||||
{"object": "ZCL_ABAPGIT_OBJECT_INTF", "class": "ltcl_aff_metadata", "method": "serialize_default", "note": "??"},
|
|
||||||
|
|
||||||
{"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "identity", "note": " https://github.com/open-abap/open-abap/issues/471 "},
|
{"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "identity", "note": " https://github.com/open-abap/open-abap/issues/471 "},
|
||||||
|
|
||||||
{"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "abapgit_version", "note": "Error: ReadReport, transpiler todo"},
|
{"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "abapgit_version", "note": "Error: ReadReport, transpiler todo"},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user