We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 523f169 commit 8d59613Copy full SHA for 8d59613
openapi-generator/lib/src/openapi_generator_runner.dart
@@ -462,7 +462,7 @@ class OpenapiGenerator extends GeneratorForAnnotation<annots.Openapi> {
462
// it exists within the project.
463
final f = File(annotatedPath);
464
var content = f.readAsLinesSync();
465
- final now = DateTime.timestamp();
+ final now = DateTime.now().toIso8601String();
466
final generated = '$lastRunPlaceHolder: $now';
467
if (content.first.contains(lastRunPlaceHolder)) {
468
content = content.sublist(1);
0 commit comments